How to clean the memory for undo?

E

Eric

Does anyone have any suggestions on how to clean the memory for undo?
Thanks for any suggestions
Eric
 
M

Mike H

Eric,

One way:-

Sub cleanundo()
Range("A1").Copy Range("A1")
End Sub

you could put the same line of code in an event module such as worksheet
change to clear the undo stack automatically.

Mike
 
G

Gord Dibben

Run any non-destructive macro.

Sub clear()
ActiveCell.Copy Destination:=ActiveCell
End Sub


Gord Dibben MS Excel MVP
 

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

Top