Thread: Command buttons
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson[_3_] Dave Peterson[_3_] is offline
external usenet poster
 
Posts: 2,824
Default Command buttons

This worked ok for me:

Application.CommandBars("standard").Controls("form at painter").Enabled = True

Russell Stevenson wrote:

How do I apply code to disable command buttons. ie. If I want to
disable the 'Format Painter' button then what do I do??

Thanks in anticipation.

Rus Stevens


--

Dave Peterson