I have a Command Button on 'Sheet3 (Output)' with the following code that I was hoping would activate the Command Button on 'Sheet2 (Exercises)'. When I click it though, it comes back with a 'Run-time Error '9': Subscript out of range'. In Developer Mode, when I click on the button that I am trying to activate in 'Sheet2 (Exercises)', the code in the formula bar reads '=EMBED("Forms.CommandButton.1","")'. Any ideas why it is not working?
VBA Code:
Private Sub CommandButton1_Click()
Sheets("Sheet2").CommandButton1_Click
End Sub