+ Reply to Thread
Results 1 to 5 of 5

Why am I getting a Runtime Error 91?

  1. #1
    Registered User
    Join Date
    10-25-2012
    Location
    Cardiff, Wales
    MS-Off Ver
    Excel 2003
    Posts
    14

    Why am I getting a Runtime Error 91?

    Hi,

    This code once worked but now I am getting a Run-time Error 91: Object variable or With block variable not set.

    Can anyone help me to understand why?

    Thanks

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: Why am I getting a Runtime Error 91?

    It's probably because what you are trying to find isn't there and/or you are looking in the wrong place or for the wrong thing.

    Does this work?
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    10-25-2012
    Location
    Cardiff, Wales
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Why am I getting a Runtime Error 91?

    It did work once though.. I don't understand why it would no longer work after I haven't changed anything. And no that doesn't work either.

  4. #4
    Registered User
    Join Date
    10-25-2012
    Location
    Cardiff, Wales
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Why am I getting a Runtime Error 91?

    double post, sorry

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645
    Which line do you get the error on?

    Has the workbook stayed exactly the same?

+ 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