View Single Post
  #12   Report Post  
Posted to microsoft.public.excel.programming
Peter T[_7_] Peter T[_7_] is offline
external usenet poster
 
Posts: 162
Default Ribbons depending on ActiveSheet


"GS" wrote in message

Would be nice, though, to know what other properties are available (if
any). I'm looking to use the ID for stuff like hide/show, enable/disable
so I can continue using Tag in the fashion I'm accustomed.


control As IRibbonControl

Only .ID and .Tag. Sometimes you can use either for the same purpose (to
identify the control) though with the built-in controls you can only assign
a Tag (because its id is an idMSO).

An object control.Context is also returned which seems to be the
application's main window.

Regards,
Peter T