If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > display data using dropdown

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-06-11, 00:59
ebbystephen ebbystephen is offline
Registered User
 
Join Date: Jan 2011
Posts: 2
display data using dropdown

hi,

i have 5 categories and 10-30 set of records in each category.
i created a dropdownlist to select the category
while selecting the category respective records should be displayed
i have uploaded a sample excel file

thanks,
ebby
Attached Files
File Type: zip Selected List.zip (10.9 KB, 14 views)
Reply With Quote
  #2 (permalink)  
Old 01-10-11, 18:44
JerryDal JerryDal is offline
Registered User
 
Join Date: Jan 2002
Location: Bay Area
Posts: 473
Attached is an Excel 2003 solution that uses a command button on the worksheet that runs Visual Basic code and opens a form with a list box to display a list of the categories retrieved from Sheet2.
After you select a category from the list and click OK, rows in Sheet1 that fall outside of the category you choose are hidden, accomplished by Visual Basic code.
The workbook open event contains code that hides rows 2-100 in Sheet1, giving you a blank sheet and the command button to start with.
Attached Files
File Type: zip Select-a-List.zip (23.8 KB, 15 views)
Reply With Quote
  #3 (permalink)  
Old 01-10-11, 21:41
ebbystephen ebbystephen is offline
Registered User
 
Join Date: Jan 2011
Posts: 2
thanks

thanks it is working fine....
this is what i am looking for.
thanks a lot...
Reply With Quote
Reply

Tags
dropdown, excel, select

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On