I'm simply trying to select the third sheet within the workbook, copy three values and past them within another. The code works when I specify the exact name of the worksheet as seen below:
Sheets("Jul 01 2014 1400h").Select
Range("U56,U64,U75").Select
Range("U75").Activate
Application.CutCopyMode = False
Selection.Copy
Sheets("Graph Data Sheet").Select
Range("B3").Select
ActiveSheet.Paste
But I get the error:
"Run-time error '1004': Select method of Chart class failed"
when I just want to specify the sheet order number like below:
Sheets(3).Select
Range("U56,U64,U75").Select
Range("U75").Activate
Application.CutCopyMode = False
Selection.Copy
Sheets("Graph Data Sheet").Select
Range("B3").Select
ActiveSheet.Paste