Hello, I am trying to repeat a Do Loop given a specific property return in an If Statement. For example, for the first part of it I have:
The Loop in the middle I want to automatically return back to the top of the Do Loop (without completeing the ActiveCell.Value. Basically I want everything after that Loop to not happen, and instead automatically repeat the Do Loop. Is this possible?
Code:
Do
r = ActiveCell.Row
If r < 53 Then
a = "C"
b = r - 1
If Sheets(n).Cells(b, 3).Interior.ColorIndex = 15 Then
ActiveCell.Offset(1, 0).Select
Loop
Else
End If
ActiveCell.Value = "='" & n & "'!" & a & "" & b & ""
Loop
The Loop in the middle I want to automatically return back to the top of the Do Loop (without completeing the ActiveCell.Value. Basically I want everything after that Loop to not happen, and instead automatically repeat the Do Loop. Is this possible?