Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referencing cells in a different file in Excel

Status
Not open for further replies.

tsoccer63

Technical User
Jun 20, 2006
7
US
Hey,

I have the file "Book1" open so I don't understand why this isnt working. I do NOT want to put the full file name in because I want to be able to move the file with the results directory and have the references still work. Is my syntax wrong? I tried several changes such as taking out the 's and removing the .xls

=INDIRECT("'\\Results\[Book1.xls]Sheet1'!$A$1")
 
INDIRECT will not reference a closed workbook

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
As far as I know, you must enter the full file path of the file you want to reference if you are using file path

If not, just try using the workbook name - no path.

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top