I'm getting a: "Method 'Range' of object_'Worksheet' failed" error message on the following code. it works up to the .Copy portion but I'm definitely doing something wrong with the Destination. Any help would be appreciated!
Code:
Private Sub CommandButton1_Click()
Dim mySheetW As Worksheet, mySheetT As Worksheet, LastRow As Long, LastCol As Long, LastRowT As Long, LastColT As Long
Set mySheetT = ActiveWorkbook.Worksheets("working") 'Destination Sheet
Set mySheetW = ActiveWorkbook.ActiveSheet 'Macro called from this Sheet
LastRow = mySheetW.Cells(Rows.Count, 1).End(xlUp).Row 'Last Row of Active Sheet
LastCol = mySheetW.Cells(1, Columns.Count).End(xlToLeft).Column 'Last Column of Active Sheet
LastRowT = mySheetT.Cells(Rows.Count, 1).End(xlUp).Row 'Last Row of Destination Sheet
LastColT = mySheetT.Cells(1, Columns.Count).End(xlToLeft).Column 'Last Column of Destination Sheet
mySheetW.UsedRange.Offset(1).Resize(LastRow - 1, LastCol - 1).Copy Destination:=mySheetT.Range(LastRowT, LastColT).Paste
'No Cigar!