Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Dynamic list box

Hello All,

I have a workbook that creates a table based on external
data. When the book is opened, it updates the data,
hides two columns and sorts the data based on year and
month. The final result looks like this:

Code Description Month Year
6523 xxxxxxxxxxx Jan 2003
6545 xxxxxxxxxxx Feb 2003
6665 xxxxxxxxxxx Jan 2004

I believe I have about 6000+ records.

I would like to create a list box that changes the fill
range based on specific criteria. If the user knows the
code, that is all they need. But they may only know the
year (worst case) or they may know the month and year.

I am gessing I can use a series of drop lists, one for
the code, one for the year, one for the month and one
for the description.
If month and year are blank then select the entire range.
If year is known and month is blank, shorten the fill
range to the appropriate year.

Any help getting started would be greatly appreciated.

Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Dynamic list box

Why apply an autofilter to the data and let the user make the selections
from the autofilter dropdowns?

--
Regards,
Tom Ogilvy

"Rafael" wrote in message
...
Hello All,

I have a workbook that creates a table based on external
data. When the book is opened, it updates the data,
hides two columns and sorts the data based on year and
month. The final result looks like this:

Code Description Month Year
6523 xxxxxxxxxxx Jan 2003
6545 xxxxxxxxxxx Feb 2003
6665 xxxxxxxxxxx Jan 2004

I believe I have about 6000+ records.

I would like to create a list box that changes the fill
range based on specific criteria. If the user knows the
code, that is all they need. But they may only know the
year (worst case) or they may know the month and year.

I am gessing I can use a series of drop lists, one for
the code, one for the year, one for the month and one
for the description.
If month and year are blank then select the entire range.
If year is known and month is blank, shorten the fill
range to the appropriate year.

Any help getting started would be greatly appreciated.

Thanks in advance.



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
Dynamic top 20 list Xhawk57 Excel Discussion (Misc queries) 4 November 5th 08 05:41 PM
Dynamic List kevin Excel Worksheet Functions 1 July 16th 07 01:12 PM
dynamic Validation List David Excel Worksheet Functions 1 January 11th 07 10:57 PM
Changing named Validation list to Dynamic list. GlenC Excel Discussion (Misc queries) 1 July 20th 06 11:49 PM
Filtring a dynamic list Bluhead Excel Discussion (Misc queries) 0 May 9th 06 04:21 AM


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