how to close a user form with a command button?

excel

✅ Answers

? Favorite Answer

  • in Edit Mode double click on command button, VBA Will add a procedure (Private Sub CmdButtonName_Cllick ()

    Within it type

    Unload Me

    or Name of Form

    frmMyForm.unload

    Example:

    Private Sub MyCommandButton_Click()

    Unload Me

    End Sub

    Hope this will help you.

    (°.°)a

  • Command Button Excel

    Source(s): https://shrinks.im/aIhS

  • This Site Might Help You.

    RE:

    how to close a user form with a command button?

    excel

    Source(s): close user form command button: https://tr.im/BKPRs

  • Vba Close Form

    Source(s): https://shrink.im/baYeF

  • Leave a Comment