Option Explicit
Private Sub CommandButton1_Click()
Me.CommandButton2.Visible = Not (Me.CommandButton2.Visible)
End Sub
will toggle commandbutton2's visibility.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.