+ Reply to Thread
Results 1 to 2 of 2

Excel Crashes if I Delete a Row

  1. #1
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Oxford
    MS-Off Ver
    Excel 2003, 2007 and 2010
    Posts
    120

    Exclamation Excel Crashes if I Delete a Row

    Hey All,

    I have a Work book that works really well until i try to Delete a Row. If I do it Frezes Excel. it works fine befor i added some code. is there anything i can do to stop my code from running if cells are deleted or is there anything wrong with my code making this happern??

    here is the code and i have also attaced the worksheet with the code it as well

    Please Login or Register  to view this content.
    Thanks

    Tom
    Attached Files Attached Files

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Excel Crashes if I Delete a Row, FRUSTRATING

    You could try setting Application.EnableEvents equal to false at the start of your code and back to true at the end to avoid the macro firing again when you are making changes with the code.
    Martin

+ 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