LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Clear unactive combo boxes

Hi-

I have 10 combo boxes that filter a report that is in a seperate sheet.
How can I clear all values that have been chosen in the non-active
combos so that each time the user selects the "Sort" Sheet they are
presented with blank combo boxes....EXCEPT for the one they just sorted
on? As of now, if I select one and then go back to the sort sheet, the
value I selected is still there for multiple selections that were made
in the past and is confusing to the user who wants to sort off only one
combo box. Each of these combos are independent of the others....you
can only sort by one.

I currently have this code on each of the Change commands for the
macros: (Note: I leave out the Active Combo box from the code but it
still clears that combo as well. The below example is for ComboBox1)

ComboBox2.Text = ""
ComboBox3.Text = ""
ComboBox4.Text = ""
ComboBox5.Text = ""
ComboBox6.Text = ""
ComboBox7.Text = ""
ComboBox8.Text = ""
ComboBox9.Text = ""
ComboBox10.Text = ""

Hope this is clear! Thanks for helping me out.

-Chris

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Combo boxes to change options based on other Combo boxes. Ancient Wolf New Users to Excel 1 March 27th 09 06:29 PM
How to clear a group of combo boxes after a submit to another worksheet Jonah Excel Discussion (Misc queries) 1 March 7th 08 12:39 AM
Clear a set of combo boxes after a Submit of data to a new sheet. Jonah Excel Worksheet Functions 0 March 3rd 08 12:05 AM
Selecting subsets using combo boxes or list boxes CLamar Excel Discussion (Misc queries) 0 June 1st 06 07:43 PM
clear form combo boxes problem Profairy[_7_] Excel Programming 4 June 9th 04 04:56 PM


All times are GMT +1. The time now is 11:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"