+ Reply to Thread
Results 1 to 4 of 4

User Form Error

  1. #1
    Registered User
    Join Date
    07-05-2005
    Posts
    11

    Question User Form Error

    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

  2. #2
    Registered User
    Join Date
    08-11-2005
    Location
    Netherlands Waddinxveen
    Posts
    81
    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!

  3. #3
    Registered User
    Join Date
    07-05-2005
    Posts
    11
    Sorry, it wont let me upload the file, if you like I could email it to you.
    Do you know of any cases on why this would happen. I have combed all of my code and I haven't seen any conflicting code.
    Last edited by theguz; 08-15-2005 at 05:36 PM.

  4. #4
    Registered User
    Join Date
    08-11-2005
    Location
    Netherlands Waddinxveen
    Posts
    81
    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1