WxShady13
Board Regular
- Joined
- Jul 24, 2018
- Messages
- 185
- Office Version
- 365
- Platform
- Windows
- Mobile
Code:
Sub CopyTables()
Worksheets("SHMM Sections").Range("A3:G300").ClearContents
Dim lastrow As Long
lastrow = Cells(Rows.Count, "G").End(xlUp).Row
Range("A2:A" & lastrow).Copy
Sheets("Sign-In Sheet").Select
Range("A2").Select
Worksheets("SHMM Sections").Range("A3").Paste
End Sub
I am working on copying data from one table into another table on a different worksheet. I can copy the table however the header comes in. The code below should omit the header, however it will not paste in the worksheet I have defined. Where am I going wrong?