Try
[VBA]
Worksheets(i).Activate
Range("A3").Activate
Do While Not IsEmpty(ActiveCell)
ActiveCell.Offset(1, 0).Activate
Loop
[/VBA]