Hi, i am fairly new to VBA and so far this site has helped with every issue i have encountered. However, i have hit a hurdle with my latest efforts and decided to ask the question directly.
I am trying to create a macro that will copy the formula from the ActiveCell (which is variable) down the ActiveCell column to the last row on the worksheet.
I have identified the last row using data in column A (this is always static) but im having issues with combining the ActiveCell column with the identified last row for the purpose of the range.
At the moment i have this, the red is the part of the range i want to reference the ActiveCell column:
LastRow = Range("A65536").End(xlUp).Row
Range (ActiveCell).copy Destination:=Range(ActiveCell:" ???? & LastRow)
Any help would be much appreciated as im sure there is probably an easier way to do this. Like i said this is new to me but extremely interesting.
Thank you
I am trying to create a macro that will copy the formula from the ActiveCell (which is variable) down the ActiveCell column to the last row on the worksheet.
I have identified the last row using data in column A (this is always static) but im having issues with combining the ActiveCell column with the identified last row for the purpose of the range.
At the moment i have this, the red is the part of the range i want to reference the ActiveCell column:
LastRow = Range("A65536").End(xlUp).Row
Range (ActiveCell).copy Destination:=Range(ActiveCell:" ???? & LastRow)
Any help would be much appreciated as im sure there is probably an easier way to do this. Like i said this is new to me but extremely interesting.
Thank you
Last edited: