undo what a macro's done

  • Thread starter Thread starter mika.
  • Start date Start date
M

mika.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

undo a macro 1
Undo approach 3
Call Paste function with Undo 2
Change cell backgrounds from VBA with undo enabled 3
Undo a Macro? 1
Undo history 1
Undo VB macro action 1
UNDO DELEING ROW AND POPUP WARNING MESSAGE 5

Back
Top