I am working in VBA and am having an issue trying to get my information to copy down a formula until there is no data. The ranges of which to copy down changes so cant do a certain range. I have the formula in cell S4 and want it to be filled down. I am basing the data off column E that is 14 columns to the left of S where the fill down is. It will run thru this and then when it loops it will show this error- "Method Range of Object_Global Failed, Run time error 1004. Kind of lost on how to fix this or if im even on the right track. Any help would be much appreciated.
Sheets("SFDC Data FY").Select
Range("S4").Select
Do Until ActiveCell = ""
ActiveCell.AutoFill Destination:=Range(ActiveCell.Offset(0, -14)).Select
Loop
Introw = ActiveCell.Row
Sheets("SFDC Data FY").Select
Range("S4").Select
Do Until ActiveCell = ""
ActiveCell.AutoFill Destination:=Range(ActiveCell.Offset(0, -14)).Select
Loop
Introw = ActiveCell.Row