Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Captain Scarlett
 
Posts: n/a
Default CONCATENATE within links to build different filenames based on for

I have a series of files, all the same layout, where the only difference is
the filename, which is based on the date the file refers to i.e. 'Figures 01
Mar.xls'.

Is there away I can build a cell link along the lines of
='C:\DOCS|FIGURES\Figures '&DAY(M26)&' Mar.xls]Sheet 1!$M27?

Cheers
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

You need to use VBA for that, Harlan Grove has written a function called
PULL

http://groups.google.co.uk/groups?se...wsranger.co m

if the other workbook is open you can use INDIRECT

--
Regards,

Peo Sjoblom


"Captain Scarlett" wrote in
message ...
I have a series of files, all the same layout, where the only difference is
the filename, which is based on the date the file refers to i.e. 'Figures
01
Mar.xls'.

Is there away I can build a cell link along the lines of
='C:\DOCS|FIGURES\Figures '&DAY(M26)&' Mar.xls]Sheet 1!$M27?

Cheers



  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

You'd want to use =indirect() in your formula, but =indirect() won't work with
closed workbooks.

But Harlan Grove wrote a User Defined Function that can pull from a closed
workbook:

http://groups.google.co.uk/groups?se...wsranger.co m

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Captain Scarlett wrote:

I have a series of files, all the same layout, where the only difference is
the filename, which is based on the date the file refers to i.e. 'Figures 01
Mar.xls'.

Is there away I can build a cell link along the lines of
='C:\DOCS|FIGURES\Figures '&DAY(M26)&' Mar.xls]Sheet 1!$M27?

Cheers


--

Dave Peterson
  #4   Report Post  
Captain Scarlett
 
Posts: n/a
Default

Dave, Peo

Thanks, will give it a try.

KR
Capt S

"Dave Peterson" wrote:

You'd want to use =indirect() in your formula, but =indirect() won't work with
closed workbooks.

But Harlan Grove wrote a User Defined Function that can pull from a closed
workbook:

http://groups.google.co.uk/groups?se...wsranger.co m

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Captain Scarlett wrote:

I have a series of files, all the same layout, where the only difference is
the filename, which is based on the date the file refers to i.e. 'Figures 01
Mar.xls'.

Is there away I can build a cell link along the lines of
='C:\DOCS|FIGURES\Figures '&DAY(M26)&' Mar.xls]Sheet 1!$M27?

Cheers


--

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
Reoccurring Edit Links Error Spyder Excel Discussion (Misc queries) 6 April 12th 05 02:30 PM
can't update links...can't find links GJR3599 Excel Discussion (Misc queries) 1 April 4th 05 04:56 PM
Links to other files Eric Excel Discussion (Misc queries) 1 February 24th 05 10:49 PM
HELP!!! Missing Links!!! [email protected] New Users to Excel 2 February 16th 05 03:20 PM
Links in formulas change when another user runs a workbook L Mehl Excel Discussion (Misc queries) 2 November 27th 04 09:27 PM


All times are GMT +1. The time now is 01:58 AM.

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"