Dear Experts,

Can i please have the code to undo an action in VBA. (EXCEL)

For example:

i have run a macro, and i want to undo the action.
I only need one Undo but Please tell me if more than one undo is possible ?

The macro to be undone is already available with me, if you could please provide me the code in this structure, would be most appreciated.


Sub Undo()

Undo Code here

my code here. (i will paste my code accordingly)

End sub..

Thanks in anticipation,

S h a n