LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default How to add the same cell in multiple worksheets (with VBA)?

Hi,
I need to add the same cells in multiple worksheets. I want the worksheets
to be selected dynamically using a range on another worksheet which contains
the names of the worksheets to sum. I don't want any formulas in the summary
worksheet - I want to populate the cells with values.

I'm thinking something like this to populate a Collection (I've never used
collections before):
--------------------
Dim Allsheets As New Collection
For Each branch In Worksheets("Tables").Range("BusAreaList")
Allsheets.Add Item:=branch
Next branch
--------------------
....but I don't know how to use the Items in the Collection to specify which
cells to sum (or even if I can!). Am I on the right track?
Any help appreciated.
TIA
Damien


 
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
Sum cell value across multiple worksheets. Damian Excel Discussion (Misc queries) 10 February 5th 10 08:46 PM
Cell Referencing between multiple worksheets Nelson B. Excel Discussion (Misc queries) 4 July 24th 09 08:55 AM
Same Cell Name on Multiple Worksheets Chris Excel Discussion (Misc queries) 3 June 20th 07 08:14 PM
sum one cell from multiple worksheets abrusey Excel Worksheet Functions 3 August 23rd 06 10:48 PM
how do I sum the same cell from multiple worksheets? rbperrie Excel Worksheet Functions 2 February 18th 05 05:53 PM


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