+ Reply to Thread
Results 1 to 5 of 5

Launch a userform from toolbar instead of command button

Hybrid View

  1. #1
    Registered User
    Join Date
    11-16-2012
    Location
    Nottingham
    MS-Off Ver
    Excel 2010
    Posts
    7

    Question Launch a userform from toolbar instead of command button

    Hi

    I have written some userforms in excel and they currently work from a command button.

    I want for them to launch from the quick access tool bar (like with macros).

    Can anyone help with this.

    Thanks

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Launch a userform from toolbar instead of command button

    Just create a macro that launches your userform and assign it to a button on the quick access toolbar

  3. #3
    Registered User
    Join Date
    11-16-2012
    Location
    Nottingham
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Launch a userform from toolbar instead of command button

    Hi

    Could you please explain how to do that

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Launch a userform from toolbar instead of command button

    Sure, create a macro:
    
    Public Sub ShowMyForm()
        MyForm.Show
    End Sub
    and assign it as you would with any other macro

  5. #5
    Registered User
    Join Date
    11-16-2012
    Location
    Nottingham
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Launch a userform from toolbar instead of command button

    Thank you works briliantly

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1