Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Link to workbooks

FIRST Regards to the group!

Now question :-) is there a way to do this from below. I have 10 workbooks
named 01.xls - 10.xls. They are identical only numbers and month name are
different. Now I have summary that gets data from them. Summary has
something like this A1 =[1.xls]Sheet1!A1, B1 = [2.xls]Sheet1!A1 ...

Now if I want to add 11.xls a need to edit all values in link from 10.xls
to 11.xls. Is there a way to lets do something like this:

A B
0 JAN/06 FEB/06
1 1 2
2 =[A1.xls]Sheet1!A1 =[B1.xls]Sheet1!A1
3 =[A1.xls]Sheet2!A1 =[B1.xls]Sheet2!A1
4 =SUM(A2:A3) =SUM(B2:B3)
..
..
..

Like this I can fill rows when some new xls file appear.

Thanks in advance guys...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Link to workbooks

=Indirect("[" & A$1 & ".xls]Sheet" & row(A1) & "!A1")

Possibly

--
Regards,
Tom Ogilvy



"skoda" wrote:

FIRST Regards to the group!

Now question :-) is there a way to do this from below. I have 10 workbooks
named 01.xls - 10.xls. They are identical only numbers and month name are
different. Now I have summary that gets data from them. Summary has
something like this A1 =[1.xls]Sheet1!A1, B1 = [2.xls]Sheet1!A1 ...

Now if I want to add 11.xls a need to edit all values in link from 10.xls
to 11.xls. Is there a way to lets do something like this:

A B
0 JAN/06 FEB/06
1 1 2
2 =[A1.xls]Sheet1!A1 =[B1.xls]Sheet1!A1
3 =[A1.xls]Sheet2!A1 =[B1.xls]Sheet2!A1
4 =SUM(A2:A3) =SUM(B2:B3)
..
..
..

Like this I can fill rows when some new xls file appear.

Thanks in advance guys...

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Link to workbooks

On Wed, 15 Nov 2006 13:14:02 -0800, Tom Ogilvy wrote:

=Indirect("[" & A$1 & ".xls]Sheet" & row(A1) & "!A1")

Possibly


Hmmmm, that could do it. BIG THANKS man! :D
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
Link two workbooks Mariann Excel Discussion (Misc queries) 3 January 7th 09 05:56 PM
link workbooks Syahira Excel Discussion (Misc queries) 6 July 13th 06 11:04 AM
Link Between To Workbooks travelersway Excel Discussion (Misc queries) 2 February 11th 06 02:54 PM
How workbooks link to other workbooks Greg Excel Discussion (Misc queries) 4 August 11th 05 07:50 PM
Link between workbooks Dan Links and Linking in Excel 0 April 5th 05 02:51 PM


All times are GMT +1. The time now is 07:55 PM.

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

About Us

"It's about Microsoft Excel"