I have the below variable I am using.
When I F8 through it SetFormulasLeipsic captures the correct row count. (459)
The problem comes on the AutoFill.
For some stupid reason it is adding 200 to i, and fills down to 2459......
What the heck am I missing here?
As always your help is greatly appreciated.
Code:
Dim SetFormulasLeipsic As Long SetFormulasLeipsic = Sheets("DataB1toDUKE").Range("A" & Rows.Count).End(xlUp).Row
Range("A2:Y2").AutoFill Destination:=Range("A2:Y2" & SetFormulasLeipsic)
When I F8 through it SetFormulasLeipsic captures the correct row count. (459)
The problem comes on the AutoFill.
For some stupid reason it is adding 200 to i, and fills down to 2459......
What the heck am I missing here?
As always your help is greatly appreciated.