Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default selecting values form multiple excel files into an excel worksheet

I have created a number of excel files, which have the same name but a
different number. For e.g. book1.xls, book2.xls, book3.xls..... and so on. I
need to retrieve information from a particular cell(the address is fixed)
from all these files into another new worksheet. The number of excel
files(i.e., book1.xls,book2.xls, book3.xls.....etc.) may vary, i.e., there
can be 50 or 60 or even 100 files. I first need to find out the number of
files, and then retrieve the cell information from all these files and store
it in the new file. Also, if changes are made in any one of the files, then
the change should reflect in the new worksheet.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default selecting values form multiple excel files into an excel worksheet


You should loop through the files

For each file you should:

Open a file
Get the value you want
Close the file
And put the value in the master sheet

voila


--
Kaak
------------------------------------------------------------------------
Kaak's Profile: http://www.excelforum.com/member.php...fo&userid=7513
View this thread: http://www.excelforum.com/showthread...hreadid=382399

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
Merge Multiple Single Worksheet Excel Files into one file in separ dbguy11 Excel Discussion (Misc queries) 6 April 3rd 23 04:20 PM
Selecting multiple values from a drop down list box RM Excel Discussion (Misc queries) 5 October 2nd 09 11:39 AM
Upload multiple text files into 1 excel worksheet + put the filename as the first column in the worksheet Aster Excel Worksheet Functions 3 March 12th 06 09:58 AM
Is there way to enter multiple values into excel cells w/ a form? grassfed Excel Discussion (Misc queries) 1 June 22nd 05 05:26 PM
Selecting a directory from a form in excel ennui Excel Programming 6 April 2nd 04 01:47 AM


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