Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Data validation in Excel

Posted on 2011-02-25
6
Medium Priority
?
266 Views
Last Modified: 2012-05-11
Dear Experts.
I have one Excel file on the server where I store "basis" data. Now I want to use this data in another excel file also located on the server in the following way:

In Excel file A I want to have a listing in the range A1:A10. Currently I did the following:
I used the data validation and there the Listing and a named range which I located on a second hidden sheet in the same file. The named range in the hidden sheet I populated with data via a link to the range in the other excel file...it works but seems complicated.

My question:
Is there a way to link the named range in the "basic" file directly into the data validation listing of the other excel file? For my understanding it should be possible but I don't know how the link should look like and what more I have to consider that the data exchange will happen in the background between the two excel files without that the "user" will feel and see it?

thank you
Nils

0
Comment
Question by:Petersburg1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 34977706
Refer to www.contextures.com/xldataval05.html ... but basically the alternate workbook MUST be open for it to work.

Chris
0
 
LVL 50
ID: 34978128
Hello,

as far as I'm aware, the structure you are using (which is the same technique as described in the Contextures link Chris posted), i.e.

Source workbook range name >> target workbook range name >> target workbook data validation list

... is the only way to do it. Some functionality exchanging data between closed workbooks has been improved with Excel 2010, but I'm AFAIK data validation from external files still requires the double range name hop.

cheers, teylyn
0
 

Author Comment

by:Petersburg1
ID: 34978229
Hi,
thanks for the quick answer...too bad.
So you helped me both but it is not a real solution :-)
What shall I do?
Split the points? Or no points?
thanks
Nils
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 50
ID: 34978252
Hello,

check out the EE guidelines: http://www.experts-exchange.com/help.jsp?hi=405

I'm sure you'll do the right thing.

cheers, teylyn
0
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 1000 total points
ID: 34978331
Nils

IN general terms ... sometimes the answer is you can't do that ... which is a valid answer.  I indicated the only recognised method of using another workbook which requires it to be open if this is not practicable ... as seems to be implication then you are left with your implementation.

Basically therefore there is only one recognised method of linking directly as in teh contextures link and if having the reference workbook open is not acceptable then the answer is you can't do that!

Chris
0
 

Author Closing Comment

by:Petersburg1
ID: 35024700
thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question