Hello!
I have a command button with the following code:
How do I make a button on the ribbon that does the same thing that the code?
Thank you!
I have a command button with the following code:
VBA Code:
Private Sub CommandButton1_Click()
If vTurnOn = False Then
vTurnOn = True
Else
vTurnOn = False
End If
End Sub
How do I make a button on the ribbon that does the same thing that the code?
Thank you!