+ Reply to Thread
Results 1 to 3 of 3

Override run-time error 91

  1. #1
    Registered User
    Join Date
    07-12-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    49

    Override run-time error 91

    Does anyone know how I can over ride the above error...

    Message I get is "Object Variable or With block not set"

    I want the macro to continue running as normal and not pause every time this error pops up

    Thanks!

  2. #2
    Registered User
    Join Date
    07-12-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    49

    Re: Override run-time error 91

    Found it...

    For those with the same problem:

    Please Login or Register  to view this content.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Override run-time error 91

    Using Resume Next is not a no-no but remember to reset to:

    Please Login or Register  to view this content.
    once you have handled your "expected" errors such that unexpected errors when encountered still generate debug.

    For more info. on general approach to Error Handling see: http://www.cpearson.com/excel/ErrorHandling.htm

+ 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