Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
Call BlankOutDRS
End Sub
Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
If Target.Column = 3 Then
Cancel = True
Call BlankOutDRS
End If
End Sub
Hi,
That's sorted it. Thank you again
I didn't want to use the double click event because I'm already using that for something else and I am trying to make the sheet as user friendly as possible.
Thank again for your help.
Kind Regards
Dan
To cancel the default menu, you use the same technique as with the DoubleClick event, namely adding:
to the code.Code:Cancel = True