+ Reply to Thread
Results 1 to 5 of 5

Run-time error 1004 when trying to load UserForm

  1. #1
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208

    Run-time error 1004 when trying to load UserForm

    Does anyone know what would cause this error? I included a couple screen prints showing that the form exists, and that it is not misspelled in the code. What should I look for? TIA

    Jason
    Attached Images Attached Images
    Last edited by jasoncw; 10-22-2008 at 04:28 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Jasoncw,

    Is InputAuditors a named range? If so, change your code to this...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  3. #3
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Thanks for the reply, Leith.

    Yes, it is a named range, but unfortunately, that did not change anything. Any other ideas? I will hesitantly post my workbook if needed.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello jasoncw,

    I gather you have some sensitive information in the workbook. If you can "clean" it then post it that would help. If time is factor, you could email it to me and I will post the corrections made here in the forum.

    Sincerely,
    Leith Ross

  5. #5
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Thanks again, Leith.

    I believe I solved the problem. This was a snip from a different file, and apparently in the other file, I was using the variable Aud as an array. So I was getting the error here:

    Please Login or Register  to view this content.
    Since it is a range variable, I changed it to:

    Please Login or Register  to view this content.
    All is good now. Thanks again.

    Jason

+ 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