J
Jason
Hi,
I used a macro that I found through this newsgroup that
auto fills down when you've got spaces in Column A that
need filling with a prior value. It looks like this.
Sub FillBlanksColumnA()
Application.ScreenUpdating = False
Extent = Cells.Rows.Count
For i = 2 To Extent
If Cells(i, 1) = "" Then Cells(i, 1) = Cells(i - 1, 1)
Next i
End Sub
My problem is that this continues onto line 65000+. How
can I revise this macro to stop when there is a blank or
no value in Col B? Or can it be revised to say stop at
line 2000?
Thanks in advance.
Jason
I used a macro that I found through this newsgroup that
auto fills down when you've got spaces in Column A that
need filling with a prior value. It looks like this.
Sub FillBlanksColumnA()
Application.ScreenUpdating = False
Extent = Cells.Rows.Count
For i = 2 To Extent
If Cells(i, 1) = "" Then Cells(i, 1) = Cells(i - 1, 1)
Next i
End Sub
My problem is that this continues onto line 65000+. How
can I revise this macro to stop when there is a blank or
no value in Col B? Or can it be revised to say stop at
line 2000?
Thanks in advance.
Jason