How can I restrict a workbook sub to an array of ranges across worksheets? I had thought to use a label, but I can only trigger Continue:
with the first range.
Private Sub Workbook_SheetBeforeDoubleClick(ByVal sH As Object, ByVal Target As Range, Cancel As Boolean)
Dim rIncl(1) As Range, i As Integer, r As Range
Set rIncl(0) = Range("Table1[Column1]"): Set rIncl(1) = Range("Table2")
For i = 0 To 1
For Each r In rIncl(i)
If r.Parent Is sH Then
If Not Intersect(Target, r) Is Nothing Then GoTo Continue:
Else: Exit Sub
End If
Next
Next
Continue: