Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How can I undo changes in cells that had their contents changed by a macro?
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
that isn't supported. If you really need that capability, you would need to
write code to keep track of the changes and reverse them. -- Regards, Tom Ogilvy "Edson" wrote: How can I undo changes in cells that had their contents changed by a macro? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Edson,
at the end of procedure changing cell content you can specify using application.onundo method a procedure that will be run to undo these changes. Unfortunately you must write this undo procedure yourself. Two possible ways: keep track of cell values, formulas... or perform inverse operation (for example: if you inserted rows, you can delete them with your undo procedure). Regards, Ivan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Sum Argument results do not equal cell results Excel | Excel Worksheet Functions | |||
Wanting to write results to array instead of sheet, results overwriting.... | Excel Programming | |||
UNDO - how many times can I UNDO? | Excel Worksheet Functions | |||
Why is my undo function in Excel only can undo the last 1 or 2 ch. | Excel Worksheet Functions | |||
How can I list the results of my macro without overwritng previous results? | Excel Programming |