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

I have a question regarding the undo stack of the vba editor behind
excel (and not excel's undo stack).
I have written an event handler that every so often programmatically
updates code in a specific module in the project. This adds entries
into the undo stack that have nothing to do with the user's code
changes. To make the editing experience better I would like to be able
to do one of the folliwng things (in order of preference) but don't
know how to

a) temporarily disable additions to the undo stack
b) selectively remove entries from the undo stack without actually
undoing the change
c) clear the entire undo stack, again without undoing the changes

Any help would be greatly appreciated.

Thanks,
Anand

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default vba undo stack

I don't believe there is any access to the editors undo stack.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"anandb" wrote in message
oups.com...
I have a question regarding the undo stack of the vba editor
behind
excel (and not excel's undo stack).
I have written an event handler that every so often
programmatically
updates code in a specific module in the project. This adds
entries
into the undo stack that have nothing to do with the user's
code
changes. To make the editing experience better I would like to
be able
to do one of the folliwng things (in order of preference) but
don't
know how to

a) temporarily disable additions to the undo stack
b) selectively remove entries from the undo stack without
actually
undoing the change
c) clear the entire undo stack, again without undoing the
changes

Any help would be greatly appreciated.

Thanks,
Anand



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
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
When to use a stack? Andrew[_16_] Excel Programming 15 September 7th 04 03:06 PM
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 04:23 AM.

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"