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

Dear All,

I have big problem becouse i have one file nemed Base.
I need import some of details from other files (1.xls 2.xls 3.xls etc
etc

each next of field in my sheet should have this same formula but from
next file

for examlpe
=2.xls]Arkusz1'!$E$7
=3.xls]Arkusz1'!$E$7
=4.xls]Arkusz1'!$E$7
=1000.xls]Arkusz1'!$E$7

My question is how to do this by automat if only nale of new file
should by change 1,2,3,4,6,...100,n


Thank you fo your help

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default Formula or makro help

Use the row number to determine the number of the file. In the example shown,
I placed the formula in row 1 so it added one to produce:

=2.xls]Arkusz'!$e$7


= "=" & ROW()+1 & ".xls]Arkusz'!$e$7"

Just copy down required rows

HTH

" wrote:

Dear All,

I have big problem becouse i have one file nemed Base.
I need import some of details from other files (1.xls 2.xls 3.xls etc
etc

each next of field in my sheet should have this same formula but from
next file

for examlpe
=2.xls]Arkusz1'!$E$7
=3.xls]Arkusz1'!$E$7
=4.xls]Arkusz1'!$E$7
=1000.xls]Arkusz1'!$E$7

My question is how to do this by automat if only nale of new file
should by change 1,2,3,4,6,...100,n


Thank you fo your help


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Formula or makro help

Thank you very much but last question...
The final formula should be ='[2.xls]Arkusz'!$e$7 and i dont know
where i should input " '[ "

Your proposition making that i see onlu code " =2.xls]Arkusz'!$e$7
" in the field and i can't take a info from file


Best regards
Jarek





Best regards
Jarek

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
Makro Fredrik New Users to Excel 2 May 6th 09 06:38 PM
How to start a makro johnny Excel Worksheet Functions 5 September 27th 08 11:25 PM
If with a makro Tove Excel Discussion (Misc queries) 1 April 12th 05 01:49 PM
Makro Esrei Excel Discussion (Misc queries) 1 March 1st 05 12:34 PM
Import Makro Philipp Oberleitner Excel Programming 0 July 6th 04 09:53 AM


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