Consulting

Results 1 to 5 of 5

Thread: UserForm ComboBox

  1. #1

    UserForm ComboBox

    Hello!

    I have a userform with a combobox on it with the rowsource set to sheet2!a1:a3. When the user selects from the drop down in the form, sheet2!A1 changes to their selection. Then the next time the userform is opened the dropdown options have changed to what was last selected. How can I get around this?

    Thanks!

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Unload the form, don't hide it, or reset it in the activate event.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,956
    Location
    I don't see that happening. Maybe you set the ControlSource?

  4. #4
    No, it is the rowsource = sheet2!a1:a3.

  5. #5
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,956
    Location
    Did you check the ControlSource property?

    I have not seen that behaviour in 2003. Maybe you can post and xls that does it?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •