Need help on the followings.
I want the "Exit For" in the Second Sub (called) to Exit the first
Sub (calling) as well.
In other words, at "Exit For", both Subs should stop.
Sub First()
For cnt = 1 To 5
k = k + 1
Call Second(k)
Debug.Print "k--" & k
Next cnt
End Sub
'=====
Sub Second(ByVal u As Single)
If u = 3 Then
Exit Sub 'Exit Second procedure
End If
Debug.Print "u--" & u
End Sub