Type Mismatch?

A

Alp Bekisoglu

Hi All,

All of a sudden (or so it appears) I started getting "Type Mismatch" error
at startup. None of the references have been altered (not manually at least)
and no object names were changed.

Could someone guide me where to focus?

Thanks in advance...

Alp
 
C

Carter

Is VBA being used? If so, it should show you exactly
where the error is.

Other than that....

One of your calculated objects may have gone out of scope
(was Integer, now Long)? or one of your variables is
NULL?
 
A

Alp Bekisoglu

Hi Carter,

Yes, there is code behind the main menu form but the message is the only
thing I get. It does not open up the VB highlighting the line or give a VB
error.
I do have another copy, an older version, wich runs fine without the error.
I did compare the code behind both and they are identical.
The menu form has never been altered, so both copies have the identical
form.
The only difference between the two are in the "Argument" part of the menu
table.
If it makes any sense or is indicative of anything, after the error clicking
on the OK on the error, application proceeds normally to open the menu but:
the right-click is diabled as opposed to the older copy. I have not yet
locked that option in neither.

Any further comments, advice?

Thanks,

Alp
 
A

Alp Bekisoglu

Sorry, one correction: the right-click is disabled in both....
Must be going crazy slowly....

Alp
 
C

Carter

The fact that it continues suggests to me that it's a
reference error of some kind. I'd double check your
references, compare both the new and old version.
-----Original Message-----
Hi Carter,

Yes, there is code behind the main menu form but the message is the only
thing I get. It does not open up the VB highlighting the line or give a VB
error.
I do have another copy, an older version, wich runs fine without the error.
I did compare the code behind both and they are identical.
The menu form has never been altered, so both copies have the identical
form.
The only difference between the two are in the "Argument" part of the menu
table.
If it makes any sense or is indicative of anything, after the error clicking
 
A

Alp Bekisoglu

There is a menu item calling a RunCode in both. I deleted that in the
problematic copy and voila! its back to normal??? It was just something to
try and not important so I'll do away with it.

Thanks for your help and suggestions.

Alp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top