ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   undo delete (https://www.excelbanter.com/excel-programming/363783-undo-delete.html)

enyaw

undo delete
 
What code would i use to undo a macro that deletes a range of rows?

Jan Karel Pieterse

undo delete
 
Hi Enyaw,

What code would i use to undo a macro that deletes a range of rows?


You will have to create your own undo macro.

See www.jkp-ads.com/articles/UndoWithVBA00.asp
(which unfortunately does not handle deleting of ranges)

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com
Member of:
Professional Office Developer Association
www.proofficedev.com


Paul Lautman

undo delete
 
enyaw wrote:
What code would i use to undo a macro that deletes a range of rows?


Close the file without saving and then open it again from disk




All times are GMT +1. The time now is 02:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com