+ Reply to Thread
Results 1 to 3 of 3

clear combobox selection

  1. #1
    Forum Contributor
    Join Date
    12-26-2006
    Posts
    189

    clear combobox selection

    Hi

    How can i clear my combobox selected var, withou using the "clear" option, that clears all the items?

    Thanks!

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    clear combobox selection

    Set the ListIndex for the combobox to -1

    Example:
    ComboBox1.ListIndex = -1

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Contributor
    Join Date
    12-26-2006
    Posts
    189

    Thumbs up

    it works fine!

    Thank You so much!!

+ 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