Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Beto,
Difficult. You could add code in each workbook close event that checks the workbooks collection count, and when down to 1, disable the control. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Beto" wrote in message ... Hi, I'd like to know how can I disable a button in my custom toolbar when there is no workbook open. Just like, for example, the print button is disabled when there is no workbook open. This toolbar is from an addin I'm developing. Thanks to anyone who can answer! Regards, -- Beto Reply: Erase between the dot (inclusive) and the @. Responder: Borra la frase obvia y el punto previo. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disable the save button | Excel Discussion (Misc queries) | |||
Disable X button on excel | Excel Worksheet Functions | |||
Disable Close Button | Excel Discussion (Misc queries) | |||
How do you disable the Collate button? | Excel Discussion (Misc queries) | |||
Disable Button | Excel Programming |