+ Reply to Thread
Results 1 to 5 of 5

Combobox Clear Selection

  1. #1
    Forum Contributor
    Join Date
    02-26-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    286

    Combobox Clear Selection

    I have 12 comboboxes on a spreadsheet (not in a userform), created in "Design Mode".
    If I select each combobox in "Design Mode" the names are "ComboBox1", "ComboBox2" etc.
    The code below does not work for clearing a previous selection!
    Please Login or Register  to view this content.
    Any help with the correct code would be appreciated.

  2. #2
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    365
    Posts
    21,275

    Re: Combobox Clear Selection

    Try

    Please Login or Register  to view this content.
    Jeff
    | | |?| |?| |?| |?| | |:| | |?| |?|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    02-26-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    286

    Re: Combobox Clear Selection

    No that doesn't work, I get a runtime error 424!

  4. #4
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    365
    Posts
    21,275

    Re: Combobox Clear Selection

    Is it a Forms combobox or an ActiveX combobox? You can have either kind on a worksheet.

  5. #5
    Forum Contributor
    Join Date
    02-26-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    286

    Re: Combobox Clear Selection

    They are not on a userform so I presume its a ActiveX combobox.

+ 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. Get Multi Selection Listbox userform and clear all selection
    By jp16 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-30-2018, 10:43 AM
  2. Copy, paste, and clear contents (i.e move) a range depending on combobox selection
    By ANDLU89 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2018, 03:43 AM
  3. [SOLVED] Clear textbox of combobox after every selection
    By Neilesh Kumar in forum Excel General
    Replies: 6
    Last Post: 01-03-2018, 12:33 PM
  4. [SOLVED] ComboBox.Clear ...displayed values in the ComboBox dissappear
    By buhnen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-25-2016, 10:32 AM
  5. [SOLVED] Clear ComboBox Selection
    By jaredmccullough in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-12-2014, 07:53 AM
  6. [SOLVED] fill combobox selection based on a selection from the first combobox
    By Monza in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-14-2013, 07:34 PM
  7. clear combobox selection
    By mqdias in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-09-2007, 10:16 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