I have the following macro:
Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
Cancel = True
With Target
If Not Intersect(.Cells, Me.Range("m6:m400")) Is Nothing Then
If LCase(.Value) = "P" Then
.ClearContents
Else
.Value = "P"
End If
This allows me to insert a tick with the right mouse button in column M when the font style in column M is wingdings 2. However I am unable to remove the tick with a second click of the right mouse button. Can anyone help? Also can the macro allocate the font style for that row rather than changing it manually?
Bookmarks