Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to add cells from unknown number of files

I have an "item check in" file that has a macro to create a batch folder. It
then saves a copy of the file for each item based on how many items need to
be checked in. The name of the folder and number of files depends on the
number of items in the batch and company the batch is for. For example, for
three items for CompanyX it would create a folder called CompanyX.3 and then
save copies of the file as CompanyX.1, CompanyX.2, and CompanyX.3 in the
folder CompanyX.3.

I would like to find a way to add a given cell (A1) from each of the files
and place the sum of these cells at a different cell (B2) on the first file
of the batch (CompanyX.1).

Remember the number of items (files) can be anywhere from 1 to 50.

Thanks in advance

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
Finding Unknown number sierra spiegel Excel Worksheet Functions 1 November 14th 09 01:11 AM
Unknown excel backup files created in network directory Mike Excel Discussion (Misc queries) 0 September 18th 07 01:26 PM
Unknown # cells need to be in one column - Macro [email protected] Excel Discussion (Misc queries) 2 May 28th 06 08:33 PM
FTP Accessing remote files where filenames are unknown GeeBee Excel Programming 4 May 5th 04 06:03 PM
Searching unknown number of cells for a value Andrea[_7_] Excel Programming 2 October 29th 03 06:29 PM


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