ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Creating a linked file based on variable location reference (https://www.excelbanter.com/excel-discussion-misc-queries/187934-creating-linked-file-based-variable-location-reference.html)

Monk[_2_]

Creating a linked file based on variable location reference
 
In Book1, cell z1, I have a file location reference (F:\Home\Paul\Book2.xls)
which can change via vlookup depending on the name of the saleperson. I want
the data from Sheet 1 of that z1 file location to appear in Sheet 1 of Book1.

What formula or macro would I need to put in (Book1 Sheet 1) to pick up data
from the location and file name from cell z1?

Sorry if the above is confusing!!

Ron de Bruin

Creating a linked file based on variable location reference
 
Hi Momk

The Indirect function is not working with closed workbooks

Maybe you can use a macro to create the links for you like I use here
http://www.rondebruin.nl/summary2.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Monk" wrote in message ...
In Book1, cell z1, I have a file location reference (F:\Home\Paul\Book2.xls)
which can change via vlookup depending on the name of the saleperson. I want
the data from Sheet 1 of that z1 file location to appear in Sheet 1 of Book1.

What formula or macro would I need to put in (Book1 Sheet 1) to pick up data
from the location and file name from cell z1?

Sorry if the above is confusing!!


Prashant Runwal[_2_]

Creating a linked file based on variable location reference
 
Dear Monk

Open book2 as well as book1. Go to a cell from sheet1 of book1 where you
want the data from book2. Press + on your keyboard and select the cell from
book2 (where you have the desired data) then press enter. Link will be
created automatically which can be edited later using Edit - Links

"Monk" wrote:

In Book1, cell z1, I have a file location reference (F:\Home\Paul\Book2.xls)
which can change via vlookup depending on the name of the saleperson. I want
the data from Sheet 1 of that z1 file location to appear in Sheet 1 of Book1.

What formula or macro would I need to put in (Book1 Sheet 1) to pick up data
from the location and file name from cell z1?

Sorry if the above is confusing!!



All times are GMT +1. The time now is 10:38 PM.

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