+ Reply to Thread
Results 1 to 2 of 2

Undo paste - code causes excel to crush/close

  1. #1
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    276

    Undo paste - code causes excel to crush/close

    Hello,

    I have the worksheet_change event in each sheet - the one for Sheet1 works fine but the one for Sheet36 causes excel to crush (this is one of the tabs from a large financial model). I'm trying to undo any paste so that a user can't overwrite the data validation. Can someone please take a look why it happens?

    thanks so much!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    06-19-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Office365
    Posts
    276

    Re: Undo paste - code causes excel to crush/close

    Sorry never mind I forgot to throw in the application.enableevents = false before undo...

+ 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. [SOLVED] Pivottables(1).refreshtable causes Excel to close/crush
    By lynnsong986 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2020, 01:56 PM
  2. Excel undo vba code
    By RJ1969 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-08-2017, 10:03 AM
  3. Excel undo button vba code
    By RJ1969 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2017, 02:03 AM
  4. VBA Code to Disable Excel Close button also disabling my Close Button
    By akynyemi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-28-2013, 12:56 PM
  5. Excel 2011 Mac undo paste failure .. not a macro issue
    By OfficeLoather in forum Excel General
    Replies: 2
    Last Post: 08-30-2012, 08:30 PM
  6. Your celebrity crush
    By wryall in forum The Water Cooler
    Replies: 9
    Last Post: 08-16-2010, 05:14 PM
  7. [SOLVED] Read Undo list in Excel 2003 using Csharp code
    By Rana Saha in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-01-2006, 02:10 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