PDA

View Full Version : Data Validation List: source from other Worksheet?



jungix
07-12-2006, 01:23 PM
I'm trying to do a data validation list, and in excel I can't specify the source from another Worksheet. Is there a way to do it in Excel, or if no in VBA?

lucas
07-12-2006, 01:26 PM
If you use a range you can access it for data validation from any sheet

jungix
07-12-2006, 01:36 PM
??
I don't understand.

When I specify in the source: =Sheet2!$A$1:Sheet2!$A$7, I get the error message: "You may not use references to other worksheets or workbooks for Data Validation criteria"

mdmackillop
07-12-2006, 01:44 PM
If you use a range you can access it for data validation from any sheet

If you use a range NAME you can access it for data validation from any sheet

lucas
07-12-2006, 01:45 PM
You can also use indirect to use a list from a different sheet. Try using this for your data validation:
=INDIRECT("Sheet2!A1:A10")