I want to apply this code to Cells (P2 to P300) but i don't know how to write it.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Not Intersect(Target, Range("P2")) Is Nothing Then
Dim Fl2 As String
Fl2 = Range("O2")
Call Shell("explorer.exe /select," & Fl2, vbNormalFocus)
End If
If Not Intersect(Target, Range("P3")) Is Nothing Then
Dim Fl3 As String
Fl3 = Range("O3")
Call Shell("explorer.exe /select," & Fl3, vbNormalFocus)
End If
How to get more easy way?