473,386 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Filter Combo box from another

112 100+
Hi,
I need to filter from one combo box to another in MsExcel. I have two combo box. one is Categary and another is product. If the user select categary depend on that second combo box filter only product which belongs to the categary. I m really sorry i don;t where to post for Excel Question, so i posted here.
Nov 27 '06 #1
3 2849
NeoPa
32,556 Expert Mod 16PB
Here is good for Excel questions - don't worry.
However, your question is lacking in detail. It would be a lot easier to answer if you provided the sort of information we'll need to answer it.
I'm guessing you have a form in your Excel spreadsheet.
What are the ControlSources of your combo boxes?
How is your data laid out (what do you have in your columns)?

Basically though, your options are :
1. Create a new set of data when the first ComboBox is changed (every time) and use this as the ControlSource of the other.
2. Set the second ComboBox ControlSource as a list and recalculate it every time ComboBox 1 is changed.
Nov 27 '06 #2
imtmub
112 100+
Here is good for Excel questions - don't worry.
However, your question is lacking in detail. It would be a lot easier to answer if you provided the sort of information we'll need to answer it.
I'm guessing you have a form in your Excel spreadsheet.
What are the ControlSources of your combo boxes?
How is your data laid out (what do you have in your columns)?

Basically though, your options are :
1. Create a new set of data when the first ComboBox is changed (every time) and use this as the ControlSource of the other.
2. Set the second ComboBox ControlSource as a list and recalculate it every time ComboBox 1 is changed.
Can u explain more detaily,
I have one combo box for the department. Its Perfect. Second combo contain the Name of the employee. It should filter only selected department employee. For the second combo box i have the data its contains employee name and second field their depart. This details in the another worksheet.
Nov 28 '06 #3
NeoPa
32,556 Expert Mod 16PB
It seems clear to me.
I can't explain any better until I know what you can and can't understand.
Obviously you'll have to look at your options to see what can be supported in Excel and how first. We're not here to do it all for you but just to point you in the right direction and answer specific questions.
Nov 29 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Richard | last post by:
Hi, I have a form based on a table. When I filter the form I want to run a report based on the same table with the same filter as the form. No problem until I want to filter a combo box where...
8
by: dick | last post by:
I am just trying to print/report the results of a "filter by selection" which is done by right-clicking a form, filling in values, and "applying the filter." I have searched the newsgroups, and...
1
by: damatoer | last post by:
I am having problems with attempting to filter a form based on criteria selected in a combo box from another form. I am attempting to have a user select a order number from a combo box that is...
2
by: cefrancke | last post by:
I have a form (no underlying record set) that has two separate sub-forms on it. Each sub-form has data from two different tables. Above each sub-form there is one unbound combo box with a SQL...
3
by: Stewart | last post by:
Hi all! My (relatively small) database holds data on staff members and the projects (services) that they are assigned to. In my form frmStaff, I have a list of staff members - it is a...
0
by: Josetta | last post by:
This is for informational purposes...I had a problem and I thought it might help others in a similar situation. I hope someone, someday, finds this idea useful. I've garnered so much knowledge...
6
by: bammo | last post by:
MS Access 2003, Windows XP SP2, VBA I have a continuous form that allows edits and filters, but not deletions or additions. I filter the form based on combining selections the user makes in...
1
by: Nasher | last post by:
How do you get a combo box to filter the information a user can select in another combo box. Basically i have a orders form where users select a location from a combo box. i then have a second...
2
by: franc sutherland | last post by:
Hello, I am using Access 2003. I have a query which shows a list of club meetings sorted by date. This query is displayed in continuous forms, in a subform. I would like to select a month on...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.