+ Reply to Thread
Results 1 to 10 of 10

Want to combine 8 separate form control to a combo box

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    Indiana
    MS-Off Ver
    Excel 2010
    Posts
    19

    Want to combine 8 separate form control to a combo box

    Hello,
    I am using Excel 2010 and I have 8 separate form control each with its own macro. I would like to create a combo box with a drop down with a list of each form control and be able to perform the same function as the individual form control when a specific name is chosen in the list of the combo box.

    Thanks in advance

  2. #2
    Registered User
    Join Date
    04-09-2013
    Location
    Indiana
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Want to combine 8 separate form control to a combo box

    I tried this code but the worksheet keeps closing on me.


    Please Login or Register  to view this content.
    Each entry under each Case are macros recorded in VBA.

    Please let me know what I am doing wrong.

    Thanks

  3. #3
    Registered User
    Join Date
    04-09-2013
    Location
    Indiana
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Want to combine 8 separate form control to a combo box

    Bump - any help on this?

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: Want to combine 8 separate form control to a combo box

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Registered User
    Join Date
    04-09-2013
    Location
    Indiana
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Want to combine 8 separate form control to a combo box

    Attached is the file I would like to have a combobox to be able to do what the 3 form control could do in the form of a list format.

    Hope this helps

    Thanks
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-09-2013
    Location
    Indiana
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Want to combine 8 separate form control to a combo box

    Quote Originally Posted by davesexcel View Post
    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Thanks Dave for your reply! I have uploaded a sample of what I am needing. In the Region tab, i would like for the combobox to have each choice to do what the "Select Region" form control does. Each of the data tabs consist of data that i would like to have entered into each cells when a specific region is chosen. I have a combobox already placed in the region worksheet but that is as far as I able to do.

    Thanks

  7. #7
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Want to combine 8 separate form control to a combo box

    Hi

    How about
    Please Login or Register  to view this content.
    rylo

  8. #8
    Registered User
    Join Date
    04-09-2013
    Location
    Indiana
    MS-Off Ver
    Excel 2010
    Posts
    19

    Thumbs up Re: Want to combine 8 separate form control to a combo box

    Quote Originally Posted by rylo View Post
    Hi

    How about
    Please Login or Register  to view this content.
    rylo
    Wow, I tried all types of ways to no avail and all i had to do to run the macros was to use Application.run!!! Thank you sooo much! Is there a way I could have some kind of message that would say "Select a Region" inside of the combobox? In other words some sort of reset or something?

    Otherwise thank so much for your help as it works great!!!

  9. #9
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Want to combine 8 separate form control to a combo box

    Hi

    After the end select try putting in something like

    Please Login or Register  to view this content.
    Didn't test that, but it should work.

    rylo

  10. #10
    Registered User
    Join Date
    04-09-2013
    Location
    Indiana
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Want to combine 8 separate form control to a combo box

    Quote Originally Posted by rylo View Post
    Hi

    After the end select try putting in something like

    Please Login or Register  to view this content.
    Didn't test that, but it should work.

    rylo
    Rylo you are awesome! Thanks so much for your help!!! It works for what i need it to do!

+ 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