I currently have small project and I trying to figure out how to paste to "Dynamic Range" inserting 1 lane of space between pasted date
Basically location to paste always will be moved either up or down
Basically I need 1 lane of space after last cell with data in column A
Basically location to paste always will be moved either up or down
VBA Code:
Sub CopyTest()
Dim ws As Worksheet
Set ws = ThisWorkbook.Sheets("Test")
ws.Activate
With ThisWorkbook.Worksheets("Test")
Dim lr As Long
' Find last row in column A with data
lr = Cells(Rows.Count, "A").End(xlUp).Row
' Copy range
Range("A1:G" & lr).copy
End With
End Sub
Sub PasteTest()
Dim ws As Worksheet
Set ws = ThisWorkbook.Sheets("Email")
ws.Activate
With ThisWorkbook.Worksheets("Email")
Range("A1").PasteSpecial xlPasteAll
End With
End Sub