View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
irvy irvy is offline
external usenet poster
 
Posts: 2
Default how can I disable a control in the ribbon at run time

As an example, in Excel 2007, I have 5 buttons on the ribbon. When I press a
button, it runs code and then it is meant to disable the button. Do you know
how I could do this? Any help would be appreciated.