I need a macro that would copy cells BA2:QG? now i don't know what the last row will be as it changes.
I have used this code before but the empty cells are copied as well.
I have used this code before but the empty cells are copied as well.
Code:
Sub Copy()
Sheets("Data").Select
Range("BA2:QG25").Select
Selection.Copy
Sheets("Output").Range("A" & Sheets("Data").Rows.Count).End(xlUp).Offset(1, 0).PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=True, Transpose:=False