Deuce Bucksman
Board Regular
- Joined
- Jan 17, 2011
- Messages
- 102
Hello, gurus.
This loop runs indefinitely. Any advice on how to stop it. This code works but it just goes on forever.
Sub macrotest()
Do Until IsEmpty(Cells)
For i = 2 To 6
Cells(4, i).GoalSeek goal:=Cells(6, i), changingcell:=Cells(3, i)
Next i
Loop
End Sub
This loop runs indefinitely. Any advice on how to stop it. This code works but it just goes on forever.
Sub macrotest()
Do Until IsEmpty(Cells)
For i = 2 To 6
Cells(4, i).GoalSeek goal:=Cells(6, i), changingcell:=Cells(3, i)
Next i
Loop
End Sub