+ Reply to Thread
Results 1 to 3 of 3

Load userform combobox and listbox from worksheet

  1. #1
    Forum Contributor
    Join Date
    12-22-2012
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    205

    Load userform combobox and listbox from worksheet

    I need to know if a userform can be populated from a worksheet, however i would still want to have full control of combo and list boxes.

    For example let's say i saved all the content on the user form to a worksheet that acts as a log file. Then sometime later we may need to revise the information, in this case we would re-load the userform from the appropriate row in the log file, however i would want to have full control of combo and list boxes. Let's say that the combo and list boxes have multiple selections can these be maintained with full functionality, specifically i need the ability for the dropdowns to show the available selections but they must be initially populated per the data from the log file.

    I hope my question isn't too confusing.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643
    Populating controls from a worksheet won't affect what you control you have over them.

    I'm actually confused as to why you would think it would.
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    12-22-2012
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    205

    Re: Load userform combobox and listbox from worksheet

    Norie,

    Perhaps a little further explanation on my part.....

    Ordinarily the userform is populated from a worksheet within the workbook that contains the userform. In the case of re-populating the userform from the log file (which is a different workbook), would i not have to determine the relevent position (i think index) of the value from the log file for the combo and list boxes such that when re-loading of the form is complete the combo list boxes are set to the correct position in the dropdown.

    Thanks

    I hope this clarifies thinks further

+ 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] UserForm Initialization does not load items in ComboBox, Option values won't transfer etc.
    By Ambassador777 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-27-2014, 08:01 AM
  2. Combobox (picture load to userform)
    By naseerrurahaman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2013, 09:55 AM
  3. [SOLVED] Changed userform combobox to listbox, unable to get userform to retrieve datasheet values
    By dragonabsurdum in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-29-2013, 01:38 PM
  4. Load Userform ComboBox with filtered data
    By anandvh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-20-2012, 05:34 PM
  5. load userform from a combobox in another userform
    By ncaravela in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2010, 04:57 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