![]() |
Deactivating a macro button
I have a macro in a spreadsheet which is linked to a toolbar button in the
usual way. Is there any way please that the button can be deactivated (and if possible greyed out) when the spreadsheet in question is not the active sheet? TIA V |
Deactivating a macro button
You could use sheet activate and sheet deactivate macros to
install/uninstall the button. OR, just put a non-printable shape on the desired sheet. -- Don Guillett Microsoft MVP Excel SalesAid Software "Victor Delta" wrote in message ... I have a macro in a spreadsheet which is linked to a toolbar button in the usual way. Is there any way please that the button can be deactivated (and if possible greyed out) when the spreadsheet in question is not the active sheet? TIA V |
Deactivating a macro button
Thanks,
V "Don Guillett" wrote in message .. . You could use sheet activate and sheet deactivate macros to install/uninstall the button. OR, just put a non-printable shape on the desired sheet. -- Don Guillett Microsoft MVP Excel SalesAid Software "Victor Delta" wrote in message ... I have a macro in a spreadsheet which is linked to a toolbar button in the usual way. Is there any way please that the button can be deactivated (and if possible greyed out) when the spreadsheet in question is not the active sheet? TIA V |
All times are GMT +1. The time now is 01:43 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com