ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Can I add a Warning Meassage to a Macros Designed to Delete a Row (https://www.excelbanter.com/excel-worksheet-functions/28890-can-i-add-warning-meassage-macros-designed-delete-row.html)

C Bonovich

Can I add a Warning Meassage to a Macros Designed to Delete a Row
 
I've create a worksheet in which a few of the cells are locked. Therefore,
every time I need to delete or insert a row I have to unprotect the
worksheet. THerefore, I've created macros to do this. Since others use the
sheet is there a way to add a warning message like Are You Sure You Want To
Delete to the macro since you can't undo the Macro once done?

Thaks, CB

R.VENKATARAMAN

is it possible to place a msgbox in the appropriage place


C Bonovich <C wrote in message
...
I've create a worksheet in which a few of the cells are locked.

Therefore,
every time I need to delete or insert a row I have to unprotect the
worksheet. THerefore, I've created macros to do this. Since others use

the
sheet is there a way to add a warning message like Are You Sure You Want

To
Delete to the macro since you can't undo the Macro once done?

Thaks, CB





All times are GMT +1. The time now is 01:51 AM.

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