View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Shailesh Shah[_2_] Shailesh Shah[_2_] is offline
external usenet poster
 
Posts: 114
Default Add Command to Right-Click Menu

Hi Andy,

Using Command's ID for Conditional formatting.

Sub CreateRightClick()
With Application.CommandBars("Cell").Controls
.Add Type:=msoControlButton, _
ID:=3058, _
temporary:=True
End With
End Sub


Regards,
Shah Shailesh
http://members.lycos.co.uk/shahweb/


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!