I can do a simple do while loop
When I add a cell value based on "i," I get an error
Why, and how can I get around it?
Code:
Dim i as Integer
Do While i < 102
i = i + 1
Loop
MsgBox "done"
When I add a cell value based on "i," I get an error
Code:
Do While i < 102
Worksheets("Sheet1").Cells(i, 12).Value = 3
i = i + 1
Loop
MsgBox "done"
Why, and how can I get around it?