I have the following code which I keep getting runtime error 1004
. How or what can you suggest to stop error at the ActiveCell.Offset(1, 0).Select
in the below code:
Sub RowCounter (count)
Counter = 1
Do Until ActiveCell = ""
Counter = counter + 1
ActiveCell.Offset(1, 0).Select
Loop
Count = Counter > 2000000