+ Reply to Thread
Results 1 to 5 of 5

Creating a userform? That would have 3 buttons and inputs would control the macro?

  1. #1
    Forum Contributor
    Join Date
    08-14-2014
    Location
    US
    MS-Off Ver
    2013
    Posts
    135

    Creating a userform? That would have 3 buttons and inputs would control the macro?

    Okay firstly sorry if I have the wrong terms I have been searching for a while to find a solution and not much luck I figured out how to add a userform and put buttons on it and that is it. An amazing person on this forum made me a macro and gave me this little extra to have a couple buttons

    Please Login or Register  to view this content.
    I am wondering is it possible to have this edited or changed so I could have something that would have the title of the popup be "Grade Sorting Options" and have three buttons labeled Ascending, Descending and Cancel? The Ascending and Descending if I read that code right would input true or false depending which is clicked. The cancel would just close the popup. Is this something someone could help me with please.

    Thank you,
    Bill

  2. #2
    Registered User
    Join Date
    05-27-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Creating a userform? That would have 3 buttons and inputs would control the macro?

    There are several easy to learn tutorials with screen shots, video by which you can easily learn how to create userform and put on it controls like commandbutton, label etc.,
    The following Popup may help you.
    Please Login or Register  to view this content.
    Last edited by pmyk; 08-28-2014 at 01:05 AM. Reason: text editing

  3. #3
    Forum Contributor
    Join Date
    08-14-2014
    Location
    US
    MS-Off Ver
    2013
    Posts
    135

    Re: Creating a userform? That would have 3 buttons and inputs would control the macro?

    okay thank you I will continue to search for a tutorial that shows me how to make a popup with custom names on the buttons. Just wasnt having any luck all the ones I found had input fields and than click a button.

  4. #4
    Registered User
    Join Date
    05-27-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Creating a userform? That would have 3 buttons and inputs would control the macro?

    An Userform can serve that purpose. Once the desired CommandButton is chosen, that Userform can be hidden and the corresponding code can run another Userform or whatever.
    Try this:
    In UserForm1 you should have three command buttons.
    In UserForm1 you can have a label with the caption: "Grade Sorting Options"
    You should have Userform2 also.
    Please Login or Register  to view this content.
    In Userform2 you can have this code:
    Please Login or Register  to view this content.
    In the ThisWorkBook, you can have this code. This will bring the popup when you open the workbook.
    Please Login or Register  to view this content.
    Last edited by pmyk; 08-28-2014 at 04:21 AM. Reason: removing extra space, editing text

  5. #5
    Forum Contributor
    Join Date
    08-14-2014
    Location
    US
    MS-Off Ver
    2013
    Posts
    135

    Re: Creating a userform? That would have 3 buttons and inputs would control the macro?

    okay thank you for trying again. no idea what all the extra stuff is in these. I was trying to make the current form I have a bit easier. I will just keep what I have just wanted custom names on the buttons instead of a yes and no.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Employee sign-in userform - Creating error messages for incorrect inputs?
    By Battletoads in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-17-2014, 09:07 AM
  2. [SOLVED] Creating a for loop with command buttons in a userform
    By PackShrine in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-03-2013, 11:26 PM
  3. 2 Control buttons, 1 UserForm, Reference 2 Columns
    By Jacques Grobler in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-15-2012, 05:46 AM
  4. Replies: 1
    Last Post: 08-09-2010, 07:37 PM
  5. [SOLVED] No control for option buttons, invisible macro??
    By Steve in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-13-2005, 10:06 AM

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