Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Using a cell reference as a file name

We use work order numbers at my company. Each work order has a file by the
name WO[6 digit number]-I.xls. I want to create a new workbook that on the
left column has the list of the 6-digit numbers and the next column calls up
the value of a specific cell in that work order's file. All the cells are
consistently in the same location.

I have been able to manually accomplish this with placing this in the new
workbook, sheet1, column B. Where i copy and paste the 6 numbers from the
cell in column A into this path in each cell in the B column.

='C:\*path name*[WO123456-I.xls]Sheet1'!$A$1

What I would like to see is some way to do this

='C:\*path name*[=A1]Sheet1'!$A$1

where the "A1" iterates in cells below.

I know my explaination is complicated but there must be some simple way to
do this that I am missing... Thank you in advance!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 192
Default Using a cell reference as a file name

Try:

='C:\*path name*[' & A1 & '-I.xls]Sheet1'!$A$1

Is that what you're looking for?

"Philster" wrote:

We use work order numbers at my company. Each work order has a file by the
name WO[6 digit number]-I.xls. I want to create a new workbook that on the
left column has the list of the 6-digit numbers and the next column calls up
the value of a specific cell in that work order's file. All the cells are
consistently in the same location.

I have been able to manually accomplish this with placing this in the new
workbook, sheet1, column B. Where i copy and paste the 6 numbers from the
cell in column A into this path in each cell in the B column.

='C:\*path name*[WO123456-I.xls]Sheet1'!$A$1

What I would like to see is some way to do this

='C:\*path name*[=A1]Sheet1'!$A$1

where the "A1" iterates in cells below.

I know my explaination is complicated but there must be some simple way to
do this that I am missing... Thank you in advance!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Using a cell reference as a file name

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/

That includes =indirect.ext() that may help you.

=====
Laurent's site seems to have been down for a few days.

A search of google came up with this:
http://www.download.com/Morefunc/300...-10423159.html

I don't know if it's current, but it's pretty new. The setup.exe inside the zip
file is dated October 28, 2007.

Philster wrote:

We use work order numbers at my company. Each work order has a file by the
name WO[6 digit number]-I.xls. I want to create a new workbook that on the
left column has the list of the 6-digit numbers and the next column calls up
the value of a specific cell in that work order's file. All the cells are
consistently in the same location.

I have been able to manually accomplish this with placing this in the new
workbook, sheet1, column B. Where i copy and paste the 6 numbers from the
cell in column A into this path in each cell in the B column.

='C:\*path name*[WO123456-I.xls]Sheet1'!$A$1

What I would like to see is some way to do this

='C:\*path name*[=A1]Sheet1'!$A$1

where the "A1" iterates in cells below.

I know my explaination is complicated but there must be some simple way to
do this that I am missing... Thank you in advance!


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Using a cell reference as a file name

You can build up your cell reference like this:

="'C:\*path name*[WO" & A1 & "-I.xls]Sheet1'!A1"

where A1 contains the six digit number. However, you won't be able to bring
the data from that cell with this formula, as it only returns the string of
text that represents the cell reference. You would normally use this with
INDIRECT like this:

=INDIRECT(text_representing_cell_ref)

but unfortunately INDIRECT will only work with files that are open, and will
return a #REF error if the file is closed.

There is a free download, morefunc, which contains INDIRECT.EXT, which is
meant to overcome this problem and will work with closed files. However, I
read last week that the site was down, and it still is when I tried it just
now.

http://longre.free.fr/english/

Not sure if this helps.

Pete

"Philster" wrote in message
...
We use work order numbers at my company. Each work order has a file by
the
name WO[6 digit number]-I.xls. I want to create a new workbook that on
the
left column has the list of the 6-digit numbers and the next column calls
up
the value of a specific cell in that work order's file. All the cells are
consistently in the same location.

I have been able to manually accomplish this with placing this in the new
workbook, sheet1, column B. Where i copy and paste the 6 numbers from the
cell in column A into this path in each cell in the B column.

='C:\*path name*[WO123456-I.xls]Sheet1'!$A$1

What I would like to see is some way to do this

='C:\*path name*[=A1]Sheet1'!$A$1

where the "A1" iterates in cells below.

I know my explaination is complicated but there must be some simple way to
do this that I am missing... Thank you in advance!



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Using a cell reference as a file name

Thank you all! That makes good sense, but both sites are not working.
Hopefully I can find this morefunc some where else. At least I know what to
do...

Thanks again!

"Pete_UK" wrote:

You can build up your cell reference like this:

="'C:\*path name*[WO" & A1 & "-I.xls]Sheet1'!A1"

where A1 contains the six digit number. However, you won't be able to bring
the data from that cell with this formula, as it only returns the string of
text that represents the cell reference. You would normally use this with
INDIRECT like this:

=INDIRECT(text_representing_cell_ref)

but unfortunately INDIRECT will only work with files that are open, and will
return a #REF error if the file is closed.

There is a free download, morefunc, which contains INDIRECT.EXT, which is
meant to overcome this problem and will work with closed files. However, I
read last week that the site was down, and it still is when I tried it just
now.

http://longre.free.fr/english/

Not sure if this helps.

Pete

"Philster" wrote in message
...
We use work order numbers at my company. Each work order has a file by
the
name WO[6 digit number]-I.xls. I want to create a new workbook that on
the
left column has the list of the 6-digit numbers and the next column calls
up
the value of a specific cell in that work order's file. All the cells are
consistently in the same location.

I have been able to manually accomplish this with placing this in the new
workbook, sheet1, column B. Where i copy and paste the 6 numbers from the
cell in column A into this path in each cell in the B column.

='C:\*path name*[WO123456-I.xls]Sheet1'!$A$1

What I would like to see is some way to do this

='C:\*path name*[=A1]Sheet1'!$A$1

where the "A1" iterates in cells below.

I know my explaination is complicated but there must be some simple way to
do this that I am missing... Thank you in advance!






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Using a cell reference as a file name

Pete,

The cell reference build up works like a charm, but I'm having trouble
working the indirect function. Lets say that this "built up" path is in B1,
and I want it's value in C1. How do you use indirect? =indirect(B1) is not
working for me.

Thanks

"Pete_UK" wrote:

You can build up your cell reference like this:

="'C:\*path name*[WO" & A1 & "-I.xls]Sheet1'!A1"

where A1 contains the six digit number. However, you won't be able to bring
the data from that cell with this formula, as it only returns the string of
text that represents the cell reference. You would normally use this with
INDIRECT like this:

=INDIRECT(text_representing_cell_ref)

but unfortunately INDIRECT will only work with files that are open, and will
return a #REF error if the file is closed.

There is a free download, morefunc, which contains INDIRECT.EXT, which is
meant to overcome this problem and will work with closed files. However, I
read last week that the site was down, and it still is when I tried it just
now.

http://longre.free.fr/english/

Not sure if this helps.

Pete

"Philster" wrote in message
...
We use work order numbers at my company. Each work order has a file by
the
name WO[6 digit number]-I.xls. I want to create a new workbook that on
the
left column has the list of the 6-digit numbers and the next column calls
up
the value of a specific cell in that work order's file. All the cells are
consistently in the same location.

I have been able to manually accomplish this with placing this in the new
workbook, sheet1, column B. Where i copy and paste the 6 numbers from the
cell in column A into this path in each cell in the B column.

='C:\*path name*[WO123456-I.xls]Sheet1'!$A$1

What I would like to see is some way to do this

='C:\*path name*[=A1]Sheet1'!$A$1

where the "A1" iterates in cells below.

I know my explaination is complicated but there must be some simple way to
do this that I am missing... Thank you in advance!




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Using a cell reference as a file name

The download.com site works for me.

Philster wrote:

Thank you all! That makes good sense, but both sites are not working.
Hopefully I can find this morefunc some where else. At least I know what to
do...

Thanks again!

"Pete_UK" wrote:

You can build up your cell reference like this:

="'C:\*path name*[WO" & A1 & "-I.xls]Sheet1'!A1"

where A1 contains the six digit number. However, you won't be able to bring
the data from that cell with this formula, as it only returns the string of
text that represents the cell reference. You would normally use this with
INDIRECT like this:

=INDIRECT(text_representing_cell_ref)

but unfortunately INDIRECT will only work with files that are open, and will
return a #REF error if the file is closed.

There is a free download, morefunc, which contains INDIRECT.EXT, which is
meant to overcome this problem and will work with closed files. However, I
read last week that the site was down, and it still is when I tried it just
now.

http://longre.free.fr/english/

Not sure if this helps.

Pete

"Philster" wrote in message
...
We use work order numbers at my company. Each work order has a file by
the
name WO[6 digit number]-I.xls. I want to create a new workbook that on
the
left column has the list of the 6-digit numbers and the next column calls
up
the value of a specific cell in that work order's file. All the cells are
consistently in the same location.

I have been able to manually accomplish this with placing this in the new
workbook, sheet1, column B. Where i copy and paste the 6 numbers from the
cell in column A into this path in each cell in the B column.

='C:\*path name*[WO123456-I.xls]Sheet1'!$A$1

What I would like to see is some way to do this

='C:\*path name*[=A1]Sheet1'!$A$1

where the "A1" iterates in cells below.

I know my explaination is complicated but there must be some simple way to
do this that I am missing... Thank you in advance!





--

Dave Peterson
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Using a cell reference as a file name

Is the sending file open? =indirect() returns an error if its closed.



Philster wrote:

Pete,

The cell reference build up works like a charm, but I'm having trouble
working the indirect function. Lets say that this "built up" path is in B1,
and I want it's value in C1. How do you use indirect? =indirect(B1) is not
working for me.

Thanks

"Pete_UK" wrote:

You can build up your cell reference like this:

="'C:\*path name*[WO" & A1 & "-I.xls]Sheet1'!A1"

where A1 contains the six digit number. However, you won't be able to bring
the data from that cell with this formula, as it only returns the string of
text that represents the cell reference. You would normally use this with
INDIRECT like this:

=INDIRECT(text_representing_cell_ref)

but unfortunately INDIRECT will only work with files that are open, and will
return a #REF error if the file is closed.

There is a free download, morefunc, which contains INDIRECT.EXT, which is
meant to overcome this problem and will work with closed files. However, I
read last week that the site was down, and it still is when I tried it just
now.

http://longre.free.fr/english/

Not sure if this helps.

Pete

"Philster" wrote in message
...
We use work order numbers at my company. Each work order has a file by
the
name WO[6 digit number]-I.xls. I want to create a new workbook that on
the
left column has the list of the 6-digit numbers and the next column calls
up
the value of a specific cell in that work order's file. All the cells are
consistently in the same location.

I have been able to manually accomplish this with placing this in the new
workbook, sheet1, column B. Where i copy and paste the 6 numbers from the
cell in column A into this path in each cell in the B column.

='C:\*path name*[WO123456-I.xls]Sheet1'!$A$1

What I would like to see is some way to do this

='C:\*path name*[=A1]Sheet1'!$A$1

where the "A1" iterates in cells below.

I know my explaination is complicated but there must be some simple way to
do this that I am missing... Thank you in advance!





--

Dave Peterson
  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Using a cell reference as a file name

Oh my! No it was just a simple typo... Yes and I found the download.com file
as well.

Thanks for all your help!

"Dave Peterson" wrote:

Is the sending file open? =indirect() returns an error if its closed.



Philster wrote:

Pete,

The cell reference build up works like a charm, but I'm having trouble
working the indirect function. Lets say that this "built up" path is in B1,
and I want it's value in C1. How do you use indirect? =indirect(B1) is not
working for me.

Thanks

"Pete_UK" wrote:

You can build up your cell reference like this:

="'C:\*path name*[WO" & A1 & "-I.xls]Sheet1'!A1"

where A1 contains the six digit number. However, you won't be able to bring
the data from that cell with this formula, as it only returns the string of
text that represents the cell reference. You would normally use this with
INDIRECT like this:

=INDIRECT(text_representing_cell_ref)

but unfortunately INDIRECT will only work with files that are open, and will
return a #REF error if the file is closed.

There is a free download, morefunc, which contains INDIRECT.EXT, which is
meant to overcome this problem and will work with closed files. However, I
read last week that the site was down, and it still is when I tried it just
now.

http://longre.free.fr/english/

Not sure if this helps.

Pete

"Philster" wrote in message
...
We use work order numbers at my company. Each work order has a file by
the
name WO[6 digit number]-I.xls. I want to create a new workbook that on
the
left column has the list of the 6-digit numbers and the next column calls
up
the value of a specific cell in that work order's file. All the cells are
consistently in the same location.

I have been able to manually accomplish this with placing this in the new
workbook, sheet1, column B. Where i copy and paste the 6 numbers from the
cell in column A into this path in each cell in the B column.

='C:\*path name*[WO123456-I.xls]Sheet1'!$A$1

What I would like to see is some way to do this

='C:\*path name*[=A1]Sheet1'!$A$1

where the "A1" iterates in cells below.

I know my explaination is complicated but there must be some simple way to
do this that I am missing... Thank you in advance!




--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking to another file using file reference typed cell Steven Excel Worksheet Functions 3 April 5th 08 03:15 AM
how to call a reference to a cell in external file jose Excel Worksheet Functions 2 February 27th 07 09:59 AM
cell reference to another file bubbles1611 Excel Worksheet Functions 0 March 23rd 06 11:50 PM
Change of File name within a cell reference Zuzana Excel Discussion (Misc queries) 3 November 30th 05 02:38 PM
how do i reference data in a file with the fname in another cell? jhlrtn Excel Worksheet Functions 1 May 23rd 05 11:11 PM


All times are GMT +1. The time now is 09:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"