PDA

View Full Version : application.undo



wilg
11-26-2011, 11:38 AM
Hi all, I use

application.undo

for certain things in my projects. I want to know if I can adjust this to undo the last 2 things.

application.undo
application undo

just loops itself.

is there any application.undo "Last 2"

wilg
11-26-2011, 12:41 PM
In reading further information it may not be possible to do.

Can anyone tell me how to then as

application.undo moves curser to next cell below

how to move curser up one and to the leaft one and clear contents?

mdmackillop
11-26-2011, 01:56 PM
May depend upon the undo, but try
Application.Undo
With ActiveCell.Offset(-1, -1)
.ClearContents
.Select
End With