LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Undo & ErrorHandler

Excel 2002, Win XP
I have noticed in these NGs that when an Undo command is issued (in
code) that an Error Handler routine is often used. That is, a statement
like:
On Error GoTo ErrHandler
is put before the Undo command.
Or something like:
If Sheets(xlsName).CanUndo Then.....
I can understand doing this if the Undo capability is in question.
My question regards the need for the above in the specific situation where
the code containing the Undo command is triggered by a Worksheet_Change
event. When and why would the Undo not be available in this situation?
Thanks for your help. Otto


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Instead of one by one Undo karthikbalaguru Excel Discussion (Misc queries) 4 February 5th 09 05:03 PM
Undo Carolyn Excel Discussion (Misc queries) 2 January 12th 07 07:44 PM
can't undo DPW1 Excel Discussion (Misc queries) 4 July 5th 05 08:07 PM
UNDO - how many times can I UNDO? Jane Excel Worksheet Functions 2 May 19th 05 03:03 AM
Why is my undo function in Excel only can undo the last 1 or 2 ch. 1111111111111111111111111111111111111111 Excel Worksheet Functions 1 November 24th 04 11:13 AM


All times are GMT +1. The time now is 01:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"