jamescooper
Well-known Member
- Joined
- Sep 8, 2014
- Messages
- 840
Hello my code below, V6 is a single cell and copys perfectly - with D6, it is merged to D6:E7, how do I make this copy too? I have tried D6 but I am yet to have any joy, many thanks.
Code:
Private Sub Data_to_Database()
Application.ScreenUpdating = False
Dim NextRow As Range
Sheets("Entry - Accidents").Range("V6", "D6").Copy
Sheets("Data - Accidents").Select
Set NextRow = ActiveSheet.Cells(Cells.Rows.Count, 1).End(xlUp).Offset(1, 0)
NextRow.Select
Selection.PasteSpecial (xlValues), Transpose:=True
End Sub