Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Another Annoying Error message!

  1. #1
    New Member
    Join Date
    Mar 2002
    Location
    Boston
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    When I open Excel, I get the error "Subscript out of range" in a dialog box, and then an OK button. When you click ok, the application starts normally. What does this mean????









    [ This Message was edited by: Claudette on 2002-03-12 09:45 ]

  2. #2
    MrExcel MVP Anne Troy's Avatar
    Join Date
    Feb 2002
    Location
    Westwood NJ
    Posts
    2,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    It means that you have code on the Workbook_Open event that has code that is no longer valid.

    Hit Alt-F11. In the top-left window, double-click the ThisWorkbook object under YOUR file's name. You'll see the code.

    If you are given a button to DEBUG along with that error message, you can hit it, and it'll take you to the line of code that isn't working.
    ~Anne Troy

  3. #3
    MrExcel MVP Ivan F Moala's Avatar
    Join Date
    Feb 2002
    Location
    Auckland, New Zealand
    Posts
    4,209
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-03-12 09:45, Dreamboat wrote:
    It means that you have code on the Workbook_Open event that has code that is no longer valid.

    Hit Alt-F11. In the top-left window, double-click the ThisWorkbook object under YOUR file's name. You'll see the code.

    If you are given a button to DEBUG along with that error message, you can hit it, and it'll take you to the line of code that isn't working.
    I fear that the fact that she mentions only an ok button means that the code maybe protected.

    unless you have the password then you may have to live with the error

    lets hope not


    ivan

  4. #4
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi Claudette

    If it is code in the Workbook_open event AND it's protected AND you don't know the password, you can open this workbook from within Excel while holding down the shift key. This will prevent any Workbook open code running.

    PS
    Hey tuggy, when are you going to post your picture?




    _________________
    Kind Regards
    Dave Hawley
    OzGrid Business Applications
    Microsoft Excel/VBA Training


    [ This Message was edited by: Dave Hawley on 2002-03-12 19:35 ]

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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