Hi I have this macro where it selects a range tehn copy and paste it on another sheet, but I would like to do it on the last row, is that possible?
Sub CopiaDetalle()
Ultimafila = Worksheets("U-Detail").Range("C" & Rows.Count).End(xlUp).Row
UltimafilaD = Worksheets("Detail").Range("C" & Rows.Count).End(xlUp).Row
Set rng = Workbooks(Wk_Name).Worksheets("U-Detail").Range("C11:AC" & Ultimafila)
rng.Copy
Workbooks(Wk_Name).Worksheets("Detail").Range(UltimafilaD).PasteSpecial xlPasteValues
End Sub
Sub CopiaDetalle()
Ultimafila = Worksheets("U-Detail").Range("C" & Rows.Count).End(xlUp).Row
UltimafilaD = Worksheets("Detail").Range("C" & Rows.Count).End(xlUp).Row
Set rng = Workbooks(Wk_Name).Worksheets("U-Detail").Range("C11:AC" & Ultimafila)
rng.Copy
Workbooks(Wk_Name).Worksheets("Detail").Range(UltimafilaD).PasteSpecial xlPasteValues
End Sub