If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Disable UNDO Temporarily?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-04, 13:22
JerryDal JerryDal is offline
Registered User
 
Join Date: Jan 2002
Location: Bay Area
Posts: 473
Question Disable UNDO Temporarily?

Is there a way to disable UNDO in Excel 2000? I am using VBA to copy formulas from the first row of 137 columns to the following 2,600 rows. A dialog box pops up with the message that there is not enough memory...continue without undo? The copying can be completed, but I would like to know is there is a way in VBA to turn UNDO off and back on again after the copying is finished. My goal is to speed up the copying that now takes several minutes.

Thanks.

Jerry
Reply With Quote
  #2 (permalink)  
Old 01-02-04, 14:02
Xl-Dennis Xl-Dennis is offline
Registered User
 
Join Date: Dec 2003
Location: Östersund Sweden
Posts: 60
Jerry,

How about:

Application.DisplayAlerts = False
'Your code....
Application.DisplayAlerts = True

Kind regards,
Dennis
__________________
Kind regards,
Dennis
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On