Disable Right Click in Spreadsheet
It should work in xl2003. Perhaps you have security set to high and macros
have been silently disabled.
--
Regards,
Tom Ogilvy
"Tywardreath" wrote in message
...
Hi
I've found the following code to disable right clicking with a
spreadsheet,
however within Excel 2003 it doesn't work.
Private Sub Worksheet_BeforeRightClick(ByVal Target _
As Excel.Range, Cancel As Boolean)
Cancel = True 'prevents normal RClick menu from appearing
End Sub
Does anyone know how to stop right clicking?
Cheers, Ty
|