Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Macro to sum sheets in a folder

Hi everyone,

I am really running this past people before I start writing code to
ensure I can actually do this one way or another.

I am wanting to write a macro in a sheet that finds a certain cell in
every excel file in a folder and sums them up. Sounds simple but am I
kidding myself?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Macro to sum sheets in a folder

Hi Keri

Look here
http://www.rondebruin.nl/summary2.htm

This example create a formule link to each file.
You can use a simple Sum formula now to get what you want


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"keri" wrote in message ups.com...
Hi everyone,

I am really running this past people before I start writing code to
ensure I can actually do this one way or another.

I am wanting to write a macro in a sheet that finds a certain cell in
every excel file in a folder and sums them up. Sounds simple but am I
kidding myself?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Macro to sum sheets in a folder

Super thanks.

I think my main problem is going to be that I want the macro to
automatically search for new files in the specified folder every time
the work book is opened. I didn't explain this very clearly.

At the moment I store order form in a folder called orders. I currently
have to take the total from each order workbook and manually enter it
into a tracker. I save a new order workbook approx once a week.

The code to get a sum from a destination I can specify is simple. But I
am unsure how to sum from all files in the folder.


Ron de Bruin wrote:
Hi Keri

Look here
http://www.rondebruin.nl/summary2.htm

This example create a formule link to each file.
You can use a simple Sum formula now to get what you want


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"keri" wrote in message ups.com...
Hi everyone,

I am really running this past people before I start writing code to
ensure I can actually do this one way or another.

I am wanting to write a macro in a sheet that finds a certain cell in
every excel file in a folder and sums them up. Sounds simple but am I
kidding myself?


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
Can you create a folder in Excel workbook to hold related sheets? Mookie Excel Discussion (Misc queries) 3 September 8th 08 10:18 PM
work books only reference sheets in same folder... excel-chump[_2_] Excel Discussion (Misc queries) 0 October 15th 07 03:42 PM
Open and copy all workbook sheets in a folder to a master file [email protected] Excel Discussion (Misc queries) 0 November 2nd 06 04:29 PM
Save file in a new folder, but create folder only if folder doesn't already exist? nbaj2k[_40_] Excel Programming 6 August 11th 06 08:41 PM
Save sheets in a folder SBárbara Excel Worksheet Functions 2 June 8th 06 04:26 PM


All times are GMT +1. The time now is 08:00 AM.

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"