Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default undo what a macro's done

I have some useful VBA code that inserts rows (and keeps
the formatting, calculations, etc. as well), called from a
button. I also have a button that allows the user to
delete some rows and not others. Unfortunately, if the
user messes up there is no way to undo the insert or
worse, the delete. Can anyone suggest a way where I can
have use of the excel's "undo" to get around this, or can
you suggest another idea perhaps?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default undo what a macro's done

Take a look he

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

In article ,
"mika." wrote:

I have some useful VBA code that inserts rows (and keeps
the formatting, calculations, etc. as well), called from a
button. I also have a button that allows the user to
delete some rows and not others. Unfortunately, if the
user messes up there is no way to undo the insert or
worse, the delete. Can anyone suggest a way where I can
have use of the excel's "undo" to get around this, or can
you suggest another idea perhaps?

Thanks.

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
Macro's are fun Chris Excel Worksheet Functions 0 February 7th 08 06:09 AM
Hide Macro's in Toolbar / Macro's list sparx Excel Discussion (Misc queries) 2 May 6th 06 08:53 PM
UNDO - how many times can I UNDO? Jane Excel Worksheet Functions 2 May 19th 05 03:03 AM
Am I asking too much of my macro's loulou Excel Discussion (Misc queries) 3 February 21st 05 11: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


All times are GMT +1. The time now is 10:10 AM.

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"