#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 287
Default Undo macros

I have a button assigned to a macro. Is it possible to undo that macro once
you have pushed the button?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,089
Default Undo macros

Adam

no, not unless you build your own undo stack. Basically, a macro can carry
out numerous actions and I guess Excel just doesn't keep a track of them
and, in fact, resets the undo stack.

Regards

Trevor


"Adam" wrote in message
...
I have a button assigned to a macro. Is it possible to undo that macro once
you have pushed the button?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Undo macros

Most actions performed by an macro can not be undone - in fact, most macro
instructions clear the undo history so any previously available undo's are
cleared/lost.

--
Regards,
Tom Ogilvy


"Adam" wrote in message
...
I have a button assigned to a macro. Is it possible to undo that macro

once
you have pushed the button?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default Undo macros

Try saving the original state of the workbook/sheet as the
first step in the process, then you can offer your own
undo feature.

Tony


-----Original Message-----
Most actions performed by an macro can not be undone - in

fact, most macro
instructions clear the undo history so any previously

available undo's are
cleared/lost.

--
Regards,
Tom Ogilvy


"Adam" wrote in message
...
I have a button assigned to a macro. Is it possible to

undo that macro
once
you have pushed the button?



.

Reply
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
UNDO - how many times can I UNDO? Jane Excel Worksheet Functions 2 May 19th 05 03:03 AM
Undo using macros nc Excel Discussion (Misc queries) 3 April 7th 05 02:19 PM
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
Undo macros R Avery Excel Programming 1 February 17th 04 02:41 PM
Undo Please? Jerett Excel Programming 2 December 26th 03 09:33 PM


All times are GMT +1. The time now is 07:04 PM.

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

About Us

"It's about Microsoft Excel"