+ Reply to Thread
Results 1 to 3 of 3

Not getting error message I need, instead getting Out of Range Error (Error 9)

  1. #1
    Registered User
    Join Date
    02-21-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    8

    Not getting error message I need, instead getting Out of Range Error (Error 9)

    Hello everyone! I'm new to the forum, but have been using it for many of my projects over the past few months. In the company i work for we cannot get Microsoft Access so I am basically circumventing this issue and creating our own database using multiple excel files. There are about 12 files talking to each other, and so far the only issue i have run into was the below. Since i can't search tab names easily, I just am opening the database, and then the tab based on user input which will be a machine's serial number. The database will have a separate sheet for each machine that is QC tested, and where I've run into an issue is in the error. Instead of returning the error message I want, I get "Subscript out of range (Error 9)".

    Please Login or Register  to view this content.
    Last edited by welborns2; 03-07-2013 at 09:12 AM.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Not getting error message I need, instead getting Out of Range Error (Error 9)

    Hi, welborns2,

    shift the GoTo before the Activate:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    02-21-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Not getting error message I need, instead getting Out of Range Error (Error 9)

    Wow, that was simple enough. It worked!

    Thank you,
    Steven

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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