Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
V2 V2 is offline
external usenet poster
 
Posts: 2
Default Formatting Output Range in Combo Box

I am trying to make the list presented in a combo box dynamic based on the
selection of from another combo box. Here is the scenario... I have three
clients each having an associated list of offices. By selecting the client
name in combo box1 I would like the list of offices to change in combo box2.

Assuming I get the syntax right can I use the INDIRECT function to vary the
input range of a combo box. I am sure there is a way to do this using VBA
but I am not a VBA user.



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Formatting Output Range in Combo Box

Hi,

Its easy to do this with Data, Validation. Here are the steps:

Here are the steps for creating a dynamic data validation list:

1. Create three or more list in the spreadsheet. For example:
A B C
New York Quebec Canada
Seattle Toronto US
Miami Victoria

You would name lists: US (A1:A3), Canada (B1:B3), Countries (C1:C2) this
last is optional

2. Select the cell where you want the initial validation list, for this
example, D1
3. Choose Data, Validation
4. From the Allow drop-down and choose List
5. In the Source box enter the following formula
=Countries
6. Move to the location where you want the dynamic (changing) list to
appear, say for example E1
7. Choose Data, Validation, List and in the Source box enter the formula
=INDIRECT(D1)

You can also make a self-referential dynamic data validation list.
--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"V2" wrote:

I am trying to make the list presented in a combo box dynamic based on the
selection of from another combo box. Here is the scenario... I have three
clients each having an associated list of offices. By selecting the client
name in combo box1 I would like the list of offices to change in combo box2.

Assuming I get the syntax right can I use the INDIRECT function to vary the
input range of a combo box. I am sure there is a way to do this using VBA
but I am not a VBA user.



  #3   Report Post  
Posted to microsoft.public.excel.misc
V2 V2 is offline
external usenet poster
 
Posts: 2
Default Formatting Output Range in Combo Box

Shane:

Thanks for the very prompt response... I was actually hoping to use the
combo box control as I need the selection of a specific office to drive data
entry from a very large table of data. By flagging the choice of a specific
office (or row in the table) I can pluck data as needed.

Do you know if I can use the INDIRECT function in the control format
dialogue? Is there a trick because whenever I try I get an invalid reference
error.

Thanks,

"Shane Devenshire" wrote:

Hi,

Its easy to do this with Data, Validation. Here are the steps:

Here are the steps for creating a dynamic data validation list:

1. Create three or more list in the spreadsheet. For example:
A B C
New York Quebec Canada
Seattle Toronto US
Miami Victoria

You would name lists: US (A1:A3), Canada (B1:B3), Countries (C1:C2) this
last is optional

2. Select the cell where you want the initial validation list, for this
example, D1
3. Choose Data, Validation
4. From the Allow drop-down and choose List
5. In the Source box enter the following formula
=Countries
6. Move to the location where you want the dynamic (changing) list to
appear, say for example E1
7. Choose Data, Validation, List and in the Source box enter the formula
=INDIRECT(D1)

You can also make a self-referential dynamic data validation list.
--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"V2" wrote:

I am trying to make the list presented in a combo box dynamic based on the
selection of from another combo box. Here is the scenario... I have three
clients each having an associated list of offices. By selecting the client
name in combo box1 I would like the list of offices to change in combo box2.

Assuming I get the syntax right can I use the INDIRECT function to vary the
input range of a combo box. I am sure there is a way to do this using VBA
but I am not a VBA user.



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
Forumla that Looks up a range of output from one cell DKinNorthCakalacki Excel Worksheet Functions 2 August 27th 08 03:45 AM
Combo Box to populate variable output range DougL Excel Discussion (Misc queries) 5 February 1st 08 08:09 PM
Print output does not contain entire range gwpicasso Excel Discussion (Misc queries) 0 August 17th 07 02:17 AM
Printing same spreadsheet range getting different output Brad Excel Discussion (Misc queries) 2 July 31st 07 01:52 PM
Combo Box - format output as time Robert Mark Bram Excel Discussion (Misc queries) 1 December 5th 05 12:30 AM


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