View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Greg Wilson[_4_] Greg Wilson[_4_] is offline
external usenet poster
 
Posts: 218
Default Disabling Right Click Menu

This will toggle the enabled status of the right-click
menu:

Sub TogRightClick()
With Application.CommandBars("Cell")
..Enabled = Not .Enabled
End With
End Sub

Regards,
Greg

-----Original Message-----
Can anyone tell me the code to disable the right click
menu on a worksheet?
.