+ Reply to Thread
Results 1 to 5 of 5

How to ignore run-time error 91

  1. #1
    Forum Contributor
    Join Date
    01-06-2015
    Location
    london,uk
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2307) 64-bit....Windows 10 Enterprise
    Posts
    118

    How to ignore run-time error 91

    Run-time error 91 keeps popping up when i try manually amending/typing other columns which are not included in the macro code. How do I automatically bypass error-91 when this occurs rather than selecting end each time. My code is:

    Please Login or Register  to view this content.
    Last edited by chris1089; 12-20-2021 at 09:59 AM.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,210

    Re: How to ignore run-time error 91

    Go back to other thread here
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Banned User!
    Join Date
    12-20-2021
    Location
    Kent, England
    MS-Off Ver
    2016
    Posts
    2

    Re: How to ignore run-time error 91

    Hi Chris,

    Looking at the code - the change event has not been restricted to only fire on specific cells, i have modified the second part of the code to do this, see below:

    Please Login or Register  to view this content.
    Hope this helps

  4. #4
    Forum Contributor
    Join Date
    10-02-2012
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    251

    Re: How to ignore run-time error 91

    Quote Originally Posted by chris1089 View Post
    Run-time error 91 keeps popping up when i try manually amending/typing other columns which are not included in the macro code. How do I automatically bypass error-91 when this occurs rather than selecting end each time. My code is:

    Please Login or Register  to view this content.
    Just on another note, don't try to "bypass" or "ignore" these errors, they mean something is broken, and it needs to be fixed if you wish for the sheet to continue functioning.

  5. #5
    Forum Contributor
    Join Date
    01-06-2015
    Location
    london,uk
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2307) 64-bit....Windows 10 Enterprise
    Posts
    118

    Re: How to ignore run-time error 91

    Perfect thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 08-15-2020, 05:42 PM
  2. [SOLVED] Macro To IGNORE ERROR - Cell With Formula / Green Arrow Error
    By Logit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-06-2018, 09:16 PM
  3. Add time but ignore period of time
    By botty1963 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-14-2016, 12:48 PM
  4. [SOLVED] On error, ignore error but show message box
    By chin67326 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-18-2015, 07:54 PM
  5. Replies: 1
    Last Post: 09-20-2014, 03:49 PM
  6. Replies: 12
    Last Post: 07-04-2013, 07:26 AM
  7. [SOLVED] How to ignore and proceed on run time error 91
    By shammi_Raj in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-02-2013, 01:44 PM

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