Click here to Skip to main content
15,900,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I have data in a drop-down list.

When I select an option from the drop-down list entries related to the particular option should be displayed in another column.
When I change an option, entries should be come in other columns related to the next option.

How can I do this?

I can do it for single entry with lookup but what for multiple entries.

Actually, I've workbook, in which I've many sheets, Just Like:

In Sheet2, I've Project Details, and in Sheet1 I've drop down list of Project Names,
I want,
When I select in Sheet1's drop-down list "Project1", all details in the columns of Project should be appear, when I make select another project then details of that project should be appear.

I think I've to write vba script for the above purpose but How can I do this, please tell me.
Posted
Updated 23-May-11 21:57pm
v4
Comments
Sandeep Mewara 24-May-11 2:07am    
Tried anything?
Dalek Dave 24-May-11 3:32am    
Edited for Grammar and Readability.

1 solution

Where are you holding the data?
If you have a worksheet with data then you could apply a simple copy and paste function relating to the column number.
It would then offset by 1 column, or, if you have finished, clear and reset.

Show what you have and we will be better able to help you.

ps I do something similar for pulling data from a worksheet and showing it in a separate sheet according to a user input, so I may have an ready answer, assuming my understanding is correct.
I could email you the worksheet I use.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900