Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Preserve Excel undo stack

Hi,

Is it possible to preserve Excel undo stack after running a macro. It seems
that Excel clears the undo stack on running a macro and all the previous
operation are lost.

Any help appreciated.

NK


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Preserve Excel undo stack

you can but you need to write an undo routine for your macro using
application.undo and it can be difficult.

Have a looke here

http://j-walk.com/ss//excel/tips/tip23.htm

Mike

"Nehali Karpe" wrote:

Hi,

Is it possible to preserve Excel undo stack after running a macro. It seems
that Excel clears the undo stack on running a macro and all the previous
operation are lost.

Any help appreciated.

NK



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Preserve Excel undo stack

That was meant to be
application.onUndo

"Mike H" wrote:

you can but you need to write an undo routine for your macro using
application.undo and it can be difficult.

Have a looke here

http://j-walk.com/ss//excel/tips/tip23.htm

Mike

"Nehali Karpe" wrote:

Hi,

Is it possible to preserve Excel undo stack after running a macro. It seems
that Excel clears the undo stack on running a macro and all the previous
operation are lost.

Any help appreciated.

NK



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
Can Turn Off Internal "Undo" Stack in VBA? Larry Adams Excel Programming 9 April 20th 07 01:58 AM
vba undo stack anandb Excel Programming 1 July 29th 05 06:06 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 stack Alan Hutchins Excel Programming 1 July 8th 04 11:59 AM
How to avoid clearing undo stack after macro? Auric__ Excel Programming 2 April 26th 04 09:23 PM


All times are GMT +1. The time now is 09:16 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"