Validation from list in different worksheet/workbook

G

Guest

I am using Excel 97, I am wanting to utilise a list from another
worksheet/workbook for data validation. Is there anyway this can be done
either via the frontend or programmatically?

Thanks in hope
 
K

keepITcool

Define a name for the range via INsert/Names/Define.
assume list is on sheetDB, validation on sheetINP

valid names would be
sheetinp!valList1 : =sheetDB!a1:b20 (local name on sheetInp)
valList2 : =sheetDB!a1:b20 (global name)

those can then be used a source for validation list.
in DV dialog press f3 to popup available names..






--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Mark wrote :
 
D

DM Unseen

simple use =INDIRECT("Mysheet!MyList") or =INDIRECT(Mysheet!A1:A9") as
formula when selecting list validations. Excel will not be able to spot
you cheating<evil grin>


DM Unseen
 
T

Tom Ogilvy

Yes, but the other workbook has to be open as I recollect. The alternative
(to leave the source book closed) would be to duplicate the data in the
current workbook, perhaps on a hidden sheet, using linking formulas in the
cells. then have the defined name refer to the local preproduction and use
the defined name in the data validation.
 

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