Exit Sub, how start from beginning?

For instance, code like this

Private Sub xxxxxxx
If this Then  
  that
If that = xx Then
  Exit Sub

' here is where I need the code to start the Sub over from   the beginning.

Thanks.
RUSTYAsked:
Who is Participating?
 
CarlosJacConnect With a Mentor Commented:
try

Private Sub xxxxxxx

startpos:

If this Then  
  that
If that = xx Then
  Exit Sub

go to startpos

0
 
RUSTYAuthor Commented:
Ah, brilliant!  Thanks.
0
All Courses

From novice to tech pro — start learning today.