Macro Buttons

  • Thread starter Thread starter jpx
  • Start date Start date
J

jpx

Does anyone know how I can insert a button into a worksheet and then
have that button, once pressed, execute a macro that I have just
recorded. Thanks.
 
This should work if you are using a VB command button.
Just put the name of a macro in the Click sub

Private Sub CommandButton1_Click()
Macro1
End Sub
 
Back
Top