ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Make tools button grey (https://www.excelbanter.com/excel-programming/275219-re-make-tools-button-grey.html)

losmac

Make tools button grey
 
CommandBars("yuor_commandbar").Controls("button_na me").Enabled = False


Użytkownik "Huyeote" napisał w wiadomości
...
Hi, all, I notice that colour of Excel's button in Excel's tools bar will

go
grey when there is no workbook open. Can anybody tell me how to make my

own
DIY macro button's colour go grey (invalide) just as those Excel's

build-in
buttons do. Thanks.

Huyeote








All times are GMT +1. The time now is 11:15 AM.

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