|
Subject:
|
What Is Error 400?
|
|
Posted By:
|
RollingWoodFarm
|
Post Date:
|
12/29/2006 1:27:19 PM
|
I am adding a pop-up calendar to some VB coding. I've already done the add-in through Excel. When I select it in References in VB, I get a Visual Basic error that just says 400 in the message box. There is an image of a red button with an "X" on it. My only selections are "OK" and "HELP". If I select "HELP", I just get a blank page in a new window. Can anyone tell me what this error means? Thanks.
Terry
|
|
Reply By:
|
UnderTheBridge
|
Reply Date:
|
12/29/2006 11:30:29 PM
|
From what I have been able to gather, the 400 is a generic illegal operation code that could apply to just about anything. When you say quote: When I select it in References in VB, I get a Visual Basic error
I'm not quite sure what you mean exactly. Do you mean that when you run the code you get the error?
What happens when you step through the code? Does that line of code point you to something that you might be overlooking (malformed function, invalid offset, etc)? You might want to paste the code here - would make it easier to visualize.
I sympathize on the stupid error message. You would think there would at least be a straightforward listing of what they mean in the VBA help but alas, such is not the case.
|
|
Reply By:
|
RollingWoodFarm
|
Reply Date:
|
12/30/2006 10:20:18 AM
|
I am trying to include an add-in that is a pop-up calendar. When I go to Tools-References in the VB menu, select Calendar and then click OK, I get the error. Calendar is not included in References and there is no References branch in the Project Explorer. I have one other Workbook where I have been able to include the Calendar and another one where I have this same problem. I have no idea why.
|
|
Reply By:
|
DaveJoyG
|
Reply Date:
|
1/2/2007 2:07:39 PM
|
From what I found the error 400 is part of Excel 97 (did not find this in the error code list for the current version). In Excel 97 it was a form (display) error
Not sure if that helps...
DaveG
|