No joy! Now I get a "Type Mismatch" error. Here the whole Sub. Range "A2" is a number that currently = 1 so the MsgBox should display a "1".
Sub LoadNextSample()
'
Sheets("Samples").Select
'
If Sheets("Calc").range("A2:A2") > 0 Then ' tests value to see if sample count > 0
Sheets("Samples").Select ' selects Sheet Samples
range("B1:B1").Select ' selects Range B1
Application.Goto (ActiveWorkbook.Sheets("Samples").range("B1:B1").Offset(0, Sheets("Calc").range("A2")))
'Offsets from B1 by value in cell A2, which is current sample #
End If
If ActiveCell > Sheets("Calc").Range("TSam") Then ' tests to see if CurrentCell is > Max cells in Row 1:
Sheets("Calc").Select
MsgBox "Sample Run Completed" & vbNewLine & "Click OK to Continue", vbONOnly, "End of Samples" 'If CurrentCell is = TSam, put up MsgBox
End If
Range("B2:B2").Select
Application.Goto (ActiveWorkbook.Sheets("Samples").range("B2:B20").Offset(0, Sheets("Calc").range("A2"))) ' Offset by Value of A2
Selection.Copy
Sheets("Calc").Select
Range("B2:B20").Select
ActiveSheet.Paste ' Pastes calculated results from Calc
Sheets("Samples").Select
Range("B1:B1").Select
Application.Goto (ActiveWorkbook.Sheets("Samples").range("B1:B1").Offset(0, Sheets("Calc").range("A2"))) ' Offsets Value of A2
Selection.Copy
Sheets("Calc").Select
Range("A2").Select
ActiveSheet.Paste
" Crashes here with "Type Mismatch" error
MsgBox "Sample #" & Sheets("Calc").range("A2").Value & "Loaded" & vbNewLine & "Click OK to Load", vbNewLine, "Next Sample", vbONnly, "Load Complete"
End Sub