LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Member
 
Posts: 40
Default Userform to query?

Ok, I created a userform with three comboboxes. The drop down has all of the data I need it to (from another tab), such as states, colors, etc. It's set up so when you click on state, color etc. this data is pulled into a new workbook (works pretty darn well, thanks in part to you folks).

Right now it looks like this:

Range ("H:H").Value = Combox1.Text
Range ("C:C").Value = Combox2.Text
Range ("M:M").Value = Combox2.Text

The problem is that in combobox for each of these I have an option for "ALL." So for instance, perhaps I want a state but instead of just green or purple, I want all the colors instead of having to narrow it down. However, if I leave it blank adn don't answer that question, it goes wacky. If I put "ALL" in the combo box drop down, it replaces the column with "ALL" in the cells. Is there a way to do this, or must you pick a drop down/color etc.?

Does this make sense? Thanks.
 
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
UserForm Query Derek Dowle Excel Programming 2 November 24th 09 04:11 PM
userform query Gemz Excel Programming 2 February 27th 08 09:04 PM
Userform - Query Help Please Mark Campbell Excel Programming 2 January 29th 07 10:40 PM
Another UserForm query Phil1982 Excel Programming 1 March 16th 06 10:21 PM
Another UserForm query Phil1982 Excel Programming 1 March 16th 06 02:01 PM


All times are GMT +1. The time now is 08:35 AM.

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"