Validation from a list

G

German

I have 3 entries to be filled out in a worksheet, entry for cell A, comes from a list from another file, I am getting the list with a collection, how do I put the list or the collection on cell A as the only inputs available, after A is selected, with the event worksheet_change I will bring another list of entries from same file to cell B, entries for cell C are similar to B, after is filled row 1, I wan to change the focus to A2, it has to be A,B, and C in that order, How do I pass the collection to the cell A to begin

Thanks
 
P

Patrick Molloy

Copy your collection to another worksheet and range name
it something like "ListA"
The in your main sheet, you can set th eDataValidation
for A as List and set the source to =ListA

Ypur change event can do something similar for B. Ie
populate a new range in the other sheet and call it
ListB. The set th edata validation for cell B as List
with the source set to =ListB

HTH
Patrick Molloy
Micrsoft Excel MVP


-----Original Message-----
I have 3 entries to be filled out in a worksheet, entry
for cell A, comes from a list from another file, I am
getting the list with a collection, how do I put the list
or the collection on cell A as the only inputs available,
after A is selected, with the event worksheet_change I
will bring another list of entries from same file to cell
B, entries for cell C are similar to B, after is filled
row 1, I wan to change the focus to A2, it has to be A,B,
and C in that order, How do I pass the collection to the
cell A to begin?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top