Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default 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!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default 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!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default 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!!

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
Cell reference based on variable text string [email protected] Excel Worksheet Functions 1 April 25th 08 11:57 AM
Locking linked file location in a formula ScottL Excel Discussion (Misc queries) 0 July 9th 07 07:50 PM
creating a variable for file names BEAST Excel Discussion (Misc queries) 2 May 12th 07 09:39 PM
Creating a dynamic list based on a minimum common variable. [email protected] Excel Worksheet Functions 2 February 20th 07 06:26 PM
Find/Replace Linked Cells Prompts File Location Inquisitive1 Links and Linking in Excel 4 October 20th 05 01:40 PM


All times are GMT +1. The time now is 01:43 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"