ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Enable / Disable a button using a macro (https://www.excelbanter.com/excel-programming/317838-enable-disable-button-using-macro.html)

SapnaT

Enable / Disable a button using a macro
 

I want to achieve the following through VBA macros:
If the current sheet of the excel workbook is Password protected the
the button "Insert Rows" (used for inserting multiple rows) should b
disabled. When the current sheet is UnProtected, the button "Inser
Rows" should get enabled.
Please help

--
Sapna

-----------------------------------------------------------------------
SapnaT's Profile: http://www.excelforum.com/member.php...fo&userid=1687
View this thread: http://www.excelforum.com/showthread.php?threadid=32053



All times are GMT +1. The time now is 06:21 AM.

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