Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Formula to copy cell in Excel from on file to another

Hi,
I have 19 excel files in a folder and I have created another excel
file (B) in which I am trying to set a formula that can look in Cell
"A6" which has the path with the file name of the first file (1) then
copy From the first File (1) cell "L25" an place it in Cell "Y6" of
File (B).

I want the file names or file names with the path to be in file (B) so
that I can change the name easily instead of changing all formulas.

Hope I have clear explanation!

Thanks,

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Formula to copy cell in Excel from on file to another

The function you'd want to use is =indirect().

But =indirect() won't work if the sending file is closed.

Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

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

===
If you have trouble getting to the site, then search google for indirect.ext.

I found this alternative site:
http://download.cnet.com/Morefunc/30...-10423159.html

I didn't look to see if it was the most current version.

I'd check the original site every so often to see if it's working.

marc747 wrote:

Hi,
I have 19 excel files in a folder and I have created another excel
file (B) in which I am trying to set a formula that can look in Cell
"A6" which has the path with the file name of the first file (1) then
copy From the first File (1) cell "L25" an place it in Cell "Y6" of
File (B).

I want the file names or file names with the path to be in file (B) so
that I can change the name easily instead of changing all formulas.

Hope I have clear explanation!

Thanks,


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Formula to copy cell in Excel from on file to another

Hi,
How would I make the Formula grab the path or file name from the Cell
that I have the file names listed.

Thanks,



On Apr 12, 3:26*pm, Dave Peterson wrote:
The function you'd want to use is =indirect().

But =indirect() won't work if the sending file is closed.

Laurent Longre has an addin (morefunc.xll) at:http://xcell05.free.fr/
orhttp://xcell05.free.fr/morefunc/english/index.htm

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

===
If you have trouble getting to the site, then search google for indirect.ext.

I found this alternative site:http://download.cnet.com/Morefunc/30...-10423159.html

I didn't look to see if it was the most current version.

I'd check the original site every so often to see if it's working.

marc747 wrote:

Hi,
I have 19 excel files in a folder and I have created another excel
file (B) in which I am trying to set a formula that can look in Cell
"A6" which has the path with the file name of the first file (1) then
copy From the first File (1) cell "L25" an place it in Cell "Y6" of
File (B).


I want the file names or file names with the path to be in file (B) so
that I can change the name easily instead of changing all formulas.


Hope I have clear explanation!


Thanks,


--

Dave Peterson


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Formula to copy cell in Excel from on file to another

The string you'd want to use without the =indirect.ext() would look like:
='C:\My Documents\excel\[book 1.xls]Sheet1'!A1

So depending on what you have in those cells:
=indirect.ext("'"&a1&"["&a2&"]"&A3&"'!"&a4)

Where
A1 contains the path (with a final backslash)
A2 contains the filename
A3 contains the sheetname
A4 contains the cell address



marc747 wrote:

Hi,
How would I make the Formula grab the path or file name from the Cell
that I have the file names listed.

Thanks,

On Apr 12, 3:26 pm, Dave Peterson wrote:
The function you'd want to use is =indirect().

But =indirect() won't work if the sending file is closed.

Laurent Longre has an addin (morefunc.xll) at:http://xcell05.free.fr/
orhttp://xcell05.free.fr/morefunc/english/index.htm

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

===
If you have trouble getting to the site, then search google for indirect.ext.

I found this alternative site:http://download.cnet.com/Morefunc/30...-10423159.html

I didn't look to see if it was the most current version.

I'd check the original site every so often to see if it's working.

marc747 wrote:

Hi,
I have 19 excel files in a folder and I have created another excel
file (B) in which I am trying to set a formula that can look in Cell
"A6" which has the path with the file name of the first file (1) then
copy From the first File (1) cell "L25" an place it in Cell "Y6" of
File (B).


I want the file names or file names with the path to be in file (B) so
that I can change the name easily instead of changing all formulas.


Hope I have clear explanation!


Thanks,


--

Dave Peterson


--

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
How to copy 2007 excel file formula results into a 2003 Excel file Nuria Alba de Luz Excel Discussion (Misc queries) 2 July 10th 09 01:48 PM
copy data cell from another file in excel nlynov Excel Programming 0 April 28th 09 07:50 PM
Copy cell from Excel file and paste into control on internet page Qaspec Excel Programming 0 September 6th 07 06:38 PM
excel - formula to copy the cell contents and colour. Possible? Jason Excel Discussion (Misc queries) 3 August 24th 07 10:05 PM
COPY CELL WITH FILE REFERENCES IN EXCEL natelee78 Excel Discussion (Misc queries) 4 July 12th 05 02:15 PM


All times are GMT +1. The time now is 08:22 PM.

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

About Us

"It's about Microsoft Excel"