Hello,
I recorded a macro and it wrote the code using specifics:
Sub Macro7()
Range("A1").Select
Selection.End(xlDown).Select
Selection.AutoFill Destination:=Range("A92:A151")
Range("A92:A151").Select
Range("A1").Select
Selection.End(xlDown).Select
Selection.AutoFill Destination:=Range("A152:A156")
Range("A152:A156").Select
End Sub
Those ranges are going to vary. Basically I want a macro to:
Ctrl+Home
Ctrl+[down arrow]
Then fill down that cell until the next value
Any suggestions how to deal with the destination range?
Thank you!
I recorded a macro and it wrote the code using specifics:
Sub Macro7()
Range("A1").Select
Selection.End(xlDown).Select
Selection.AutoFill Destination:=Range("A92:A151")
Range("A92:A151").Select
Range("A1").Select
Selection.End(xlDown).Select
Selection.AutoFill Destination:=Range("A152:A156")
Range("A152:A156").Select
End Sub
Those ranges are going to vary. Basically I want a macro to:
Ctrl+Home
Ctrl+[down arrow]
Then fill down that cell until the next value
Any suggestions how to deal with the destination range?
Thank you!