View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Rech Jim Rech is offline
external usenet poster
 
Posts: 2,718
Default Enable/Disable SAVE AS button from code

Instead of using the "enabled' attribute use
getEnabled="nameOfSubInWorkbookReturningEnabledSta te". Then when you want
to change the enabled state invalidate the ribbon.

--
Jim
"chris" wrote in message
...
| Hi,
|
| Can I enable/disable SAVE AS option in OFFICE BUTTON from code ? I
| disabled it when my add-in opens during the creation of my custom ribbon
(not
| from code).
|
| thanks a lot in advance.