I am wondering how to define a range in order for it to be define from C5
until the last value of the column. C5
is a constant but the end of the list isn't.
Sub Merge()
Worksheets("Sub").Range("C5").End(xlToLeft).Select.copy
Worksheets("Master Worksheet").Range("A1:A23").PasteSpecial Paste:=xlPasteValues
End Sub
I am getting a subscript out of range error. Any guidance would be really nice.