Hi,
Kindly point out what is wrong in this code and what should be the right code..
Thanks millions!!!!
Kindly point out what is wrong in this code and what should be the right code..
Thanks millions!!!!
Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Columns = ("5;9;13;17") Then
Cancel = True
UserForm1.Show
End If
End Sub