+ Reply to Thread
Results 1 to 4 of 4

Combo Boxes

  1. #1
    Registered User
    Join Date
    03-16-2014
    Location
    Paradise, NL
    MS-Off Ver
    Excel 2007
    Posts
    6

    Combo Boxes

    I have more than 150 combo boxes. Is there a way of setting up a code to scroll within all combo boxes in one formula.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Combo Boxes

    Hello Roddboyd,

    Your information is not very complete. If you have a workbook, you should post it.

    How To Post Your Workbook
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    03-16-2014
    Location
    Paradise, NL
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Combo Boxes

    To be a little clearer in combo box 1 you can select and scroll within that box. The
    code relates combo box 1. However, you will cannot scroll within box 2,3 etc.

    Is there a code that can be written to encompass all combo boxes.

    Thanks for your help.

    Rodney

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Combo Boxes

    Hello Rodney ,

    There are 2 ways I would approach handling this. First, I would opt to use a UserForm as the user interface and transfer the combobox selections to the worksheet. You would only need 3 on the UserForm. 150 ComboBoxes is a lot of duplication for only 3 combox choices.

    Second, if you really, really want to keep all those boxes then the controls would need to be Sub-Classed. This would allow the same code to be shared by all 150 ComboBoxes.

+ 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] Help with code for userform text boxes, combo boxes and excel
    By innerise in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2014, 09:07 AM
  2. populating list boxes and combo boxes in a user form.
    By ahceinaej in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-10-2014, 11:54 AM
  3. Selected data from combo boxes to text boxes
    By soulun in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-22-2013, 06:48 AM
  4. assigning data to lists boxes and combo boxes in userforms
    By weston.roberts in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2011, 03:11 AM
  5. assigning data to lists boxes and combo boxes in userforms
    By weston.roberts in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2011, 08:46 PM

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