I tried this code to show message only if I select any row in a sheets else exit sub but didn't work
[VBA]Dim wsh As Worksheet
If Not wsh.Rows.Select Then Exit Sub
MsgBox ("ok")[/VBA]
I tried this code to show message only if I select any row in a sheets else exit sub but didn't work
[VBA]Dim wsh As Worksheet
If Not wsh.Rows.Select Then Exit Sub
MsgBox ("ok")[/VBA]