I'm trying to create a fill down macro for the range D4:D5028
Here's the code I have so far:
I got most of this online.
Thanks.
Sub FixParent()
'
' FixParent Macro
'
'
Dim lastrow As Long
lastrow = Range("D4:D5028").End(xlUp).Row
'ActiveCell.FormulaR1C1
' Selection.AutoFill Destination:=Range("Table1[Parent]")
Selection.AutoFill Destination:=Range("D4:D5028" & lastrow)
Range("D4:D5028").Select
'Range("D4").Select
'Selection.End(xlDown).Select
'ActiveCell.Offset(0, 1).Select
'Range(Selection, Selection.End(xlUp)).Select
'Selection.FillDown
End Sub
Here's the code I have so far:
I got most of this online.
Thanks.
Sub FixParent()
'
' FixParent Macro
'
'
Dim lastrow As Long
lastrow = Range("D4:D5028").End(xlUp).Row
'ActiveCell.FormulaR1C1
' Selection.AutoFill Destination:=Range("Table1[Parent]")
Selection.AutoFill Destination:=Range("D4:D5028" & lastrow)
Range("D4:D5028").Select
'Range("D4").Select
'Selection.End(xlDown).Select
'ActiveCell.Offset(0, 1).Select
'Range(Selection, Selection.End(xlUp)).Select
'Selection.FillDown
End Sub