Application.Run "Violations_VBA.xls!RefreshTable"
Sheets("Total").Select
Sheet1.Range("M5
5").Copy Destination:=Range("A65536").End(xlUp).Offset(1, 0)
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
The above code brings back a 'PasteSpecial method of Range class failed'. The code is copying from sheet 1 and pasting to the bottom of a list in the Total sheet. What am I doing wrong?
Sheets("Total").Select
Sheet1.Range("M5

Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
The above code brings back a 'PasteSpecial method of Range class failed'. The code is copying from sheet 1 and pasting to the bottom of a list in the Total sheet. What am I doing wrong?