I have a data that I paste in column A that is dynamic in quantity when I paste it in.
Formulas are written into cells B2:BS2
I am familiar with the formula below to get the formulas to fill to the last row
LastRow = Range("A2").End(xlDown).Row
Range("B2:BS2").AutoFill Destination:=Range(Range("B2"), Range("BS" & LastRow))
I was wondering if there were a way to add something to that formula to fill one additonal row past the last row.
For example, I will add data to cells A2:A9. Is there any way to have the macro fill the cells B2:BS10, instead of just B2:BS9?
I sometimes have to paste additional data on occasion so in the same scenario, I would have A2:A9 already pasted and would then paste data into A10:A20. I would like the macro to fill from B10:BS21 in that instance.
If possible, the VBA would be able to handle both situations.
Thanks so much in advance for any help!
Formulas are written into cells B2:BS2
I am familiar with the formula below to get the formulas to fill to the last row
LastRow = Range("A2").End(xlDown).Row
Range("B2:BS2").AutoFill Destination:=Range(Range("B2"), Range("BS" & LastRow))
I was wondering if there were a way to add something to that formula to fill one additonal row past the last row.
For example, I will add data to cells A2:A9. Is there any way to have the macro fill the cells B2:BS10, instead of just B2:BS9?
I sometimes have to paste additional data on occasion so in the same scenario, I would have A2:A9 already pasted and would then paste data into A10:A20. I would like the macro to fill from B10:BS21 in that instance.
If possible, the VBA would be able to handle both situations.
Thanks so much in advance for any help!