ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Advanced Links (https://www.excelbanter.com/excel-discussion-misc-queries/89101-advanced-links.html)

Stuartf

Advanced Links
 

Hi,

I need to display info from a different xls file using info from
current xls file to determine which xls the data info is from....

so far i have

="'\\Alpha\Client
Serv\OfficeDocs\Invoices\[0"&MIDB(A7,2,5)&".xls]Invoice'!$E$47"

where A7=D12345

basically a7 is a job number and invoices are created as 012345.xls
(job number -D+0) and i want to display some info from this invoice in
a different xls file. Each row will be a different job thus a different
invoice filename.

Many thanks


--
Stuartf
------------------------------------------------------------------------
Stuartf's Profile: http://www.excelforum.com/member.php...o&userid=34535
View this thread: http://www.excelforum.com/showthread...hreadid=542973


Dave Peterson

Advanced Links
 
You'd want to use the =indirect() function, but that only works when the
"sending" workbook is open.


But Harlan Grove wrote a UDF called PULL that will retrieve the value from a
closed workbook.

You can find the function at Harlan's FTP site:
ftp://members.aol.com/hrlngrv/
Look for pull.zip

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

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

Stuartf wrote:

Hi,

I need to display info from a different xls file using info from
current xls file to determine which xls the data info is from....

so far i have

="'\\Alpha\Client
Serv\OfficeDocs\Invoices\[0"&MIDB(A7,2,5)&".xls]Invoice'!$E$47"

where A7=D12345

basically a7 is a job number and invoices are created as 012345.xls
(job number -D+0) and i want to display some info from this invoice in
a different xls file. Each row will be a different job thus a different
invoice filename.

Many thanks

--
Stuartf
------------------------------------------------------------------------
Stuartf's Profile: http://www.excelforum.com/member.php...o&userid=34535
View this thread: http://www.excelforum.com/showthread...hreadid=542973


--

Dave Peterson

Stuartf

Advanced Links
 

thanks m8

very helpful of u:)


--
Stuartf
------------------------------------------------------------------------
Stuartf's Profile: http://www.excelforum.com/member.php...o&userid=34535
View this thread: http://www.excelforum.com/showthread...hreadid=542973



All times are GMT +1. The time now is 10:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com