User Form Error

T

theguz

Any reason why VBA keeps giving me the same error. "Could not find the
specified object."

Here is the code that I used:

UserForm3.Show 'This is on a button from another form

The thing that is irritating me is that it has always worked until
this moment almost. I can even look at the stupid form so I have no
idea. Anyhelp would be great. Thanks in advance.

theguz
 
D

Dnereb

You have to attach the .xls file if you want a straight answer.
The error is about an object that isn't present but that one you have
already figured out!
 
T

theguz

Sorry, it wont let me upload the file, if you like I could email it t
you.
Do you know of any cases on why this would happen. I have combed al
of my code and I haven't seen any conflicting code
 
D

Dnereb

It would be guesing but the most obvious one is misspelling an object
name or type or storing an object in a variant
and not having option explicit at the top of your forms and modules
to force you to declare your variables.
 
Top