+ Reply to Thread
Results 1 to 2 of 2

Form Combobox, Save and Re-open file, Combobox selections are deselected!?

  1. #1
    Registered User
    Join Date
    08-20-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    2

    Form Combobox, Save and Re-open file, Combobox selections are deselected!?

    Excel 2010. I am confused by form control combobox functionality. I've tried this both programmatically with .addformcontrol and non-programmatically with Insert->Combobox from the menu. The outcome is the same.

    I have a range named foo. It is the possible values for a form control combobox.

    If I create a combobox in bar with .listfillrange = range("foo") and then .listindex = 1, the first item in the combobox is selected.

    However, if I save the file and then close it, when I re-open the file, the combobox has had option 1 deselected. The options all exist there in the combobox, but it is displaying none of them.

    This does not happen if I select option 2 or 3 or so forth, save, close, and re-open.

    I created a combobox non-programmatically and the same thing happens. If I pick Option 1, save, close, and re-open, blank. If I pick any other option, save, close, and re-open, the correct selection persists.

    This is all done in a file that is saved without macros. There is no VBA acting upon the file when I close it or re-open it.

    Why is this happening, and how can I fix it?

    Thanks!

    Here is a visual example of what I mean. Upon opening the file, this is what two of the comboboxes look like. The first *was* set to the first option before saving, closing, and re-opening. The second was set to the second option. http://imgur.com/1jZpwaB,Zh7Jpds#0

    Here I have expanded the first combobox by clicking on the arrow. As you can see, the options are there! The combobox just loads up with none of them selected upon opening. http://imgur.com/1jZpwaB,Zh7Jpds#1
    Attached Images Attached Images
    Last edited by Hornblower; 11-14-2013 at 01:44 PM. Reason: Added visual explanation

  2. #2
    Registered User
    Join Date
    11-07-2014
    Location
    New York, USA
    MS-Off Ver
    2010
    Posts
    1

    Re: Form Combobox, Save and Re-open file, Combobox selections are deselected!?

    Were you able to resolve this issue?
    I an encountering the same problem:
    In Excel 2010, dropdown boxes on worksheets lose their values on save/close/re-open if user selected the first value in the dropdown. If user selects any other item but the first, the values are properly saved.
    This does not happen in Excel 2007, so it looks like a bug in Excel 2010.
    This issue completely distorts the functionality in our corporate excel add-in.
    Please help!
    Many thanks!

+ 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. Using two form combobox selections to jump to specific cells using command button
    By bberger1985 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-30-2013, 05:52 PM
  2. [SOLVED] Save Text box Value against lookup value of combobox in User form
    By rain4uu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-25-2013, 12:21 PM
  3. [SOLVED] Changeing Combobox Colors based on other combobox selections
    By dagindi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2012, 11:42 AM
  4. transferring combobox value from one user form to populate combobox on another
    By smartphreak in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-05-2010, 10:12 PM
  5. combobox list disappears on form close or open
    By ker9 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-30-2010, 11:48 AM

Tags for this Thread

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