Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 41
Default ComboBox on a UserForm

Good Morning.

I have done many comboBoxes on a userform, but now I now I need one comboBox
to look at another.

E.G
comboBox 1 has the district listed
comboBox 2 has the Facility listed
When you choice a district in comboBox1, then only the facilities belonging
to that district should show in comboBox 2.
On a sheet I do have the list of all the Districts in one col and list of
districts to Facility in two other col.

Thanks for your help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 470
Default ComboBox on a UserForm

Not sure how proficient you are in VBA. I am just learning but I had to do
the something similar. Basically, you will need to populate the facility
list combobox on change of combobox1 by matching the district picked to the
same value either by SELECT CASE (if small list) or to a list on a worksheet,
then populating the facility combobox when match found. I used a list on a
worksheet since my list can be added to. I don't have the code I used in
front of me.

Hope this helps,
Les

"LLoyd" wrote:

Good Morning.

I have done many comboBoxes on a userform, but now I now I need one comboBox
to look at another.

E.G
comboBox 1 has the district listed
comboBox 2 has the Facility listed
When you choice a district in comboBox1, then only the facilities belonging
to that district should show in comboBox 2.
On a sheet I do have the list of all the Districts in one col and list of
districts to Facility in two other col.

Thanks for your help

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default ComboBox on a UserForm

Resolved!!
http://www.microsoft.com/office/comm...sloc=en-us&p=1



--
RyGuy


"WLMPilot" wrote:

Not sure how proficient you are in VBA. I am just learning but I had to do
the something similar. Basically, you will need to populate the facility
list combobox on change of combobox1 by matching the district picked to the
same value either by SELECT CASE (if small list) or to a list on a worksheet,
then populating the facility combobox when match found. I used a list on a
worksheet since my list can be added to. I don't have the code I used in
front of me.

Hope this helps,
Les

"LLoyd" wrote:

Good Morning.

I have done many comboBoxes on a userform, but now I now I need one comboBox
to look at another.

E.G
comboBox 1 has the district listed
comboBox 2 has the Facility listed
When you choice a district in comboBox1, then only the facilities belonging
to that district should show in comboBox 2.
On a sheet I do have the list of all the Districts in one col and list of
districts to Facility in two other col.

Thanks for your help

Reply
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
Trouble with a ComboBox on a UserForm ryguy7272 Excel Discussion (Misc queries) 1 February 20th 08 09:02 PM
Trouble with a ComboBox on a UserForm ryguy7272 Excel Worksheet Functions 1 February 19th 08 07:41 AM
Userform combobox question teepee Excel Discussion (Misc queries) 2 May 17th 07 09:22 AM
Userform combobox question teepee Excel Discussion (Misc queries) 20 May 16th 07 09:42 AM
Userform w/ComboBox D.Parker Excel Discussion (Misc queries) 2 May 6th 05 04:28 PM


All times are GMT +1. The time now is 02:19 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"