Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Dynamic Arrays and Formulae


Ok,

I'm about to pull out my hair because I can't figure out a way to d
this. I need to populate one cell with a formula that will reference
dynamic number of workbooks. These workbooks are opened by date, then
need to get the names of the workbooks and populate one cell with a SU
formula across all of the workbooks. So if there were 8 workbooks open
would need A1 in this worksheet of this workbook to SUM up B2 across al
other open workbooks! But as I said earlier there is no set number o
workbooks to open as they are opened by date range.

This code is as far as I have got:

sheets("Reports").Select
Range("B2").Select

For Each Workbook In Workbooks

Selection.FormulaArray = "='" & Workbook.Name & "'" & "!R2C2"
Next Workbook

And now I dont know, cos all this does is look at each workbook in tur
and change the formula each time, where I actually need it to keep o
adding up!
Help!

Thank

--
Josep

-----------------------------------------------------------------------
Joseph's Profile: http://www.excelforum.com/member.php...nfo&userid=563
View this thread: http://www.excelforum.com/showthread.php?threadid=31387

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
Dynamic Arrays chaz Excel Discussion (Misc queries) 1 May 23rd 06 12:43 AM
Dynamic Range and arrays PR Excel Worksheet Functions 2 November 14th 05 03:51 AM
Dynamic arrays Driver New Users to Excel 3 November 7th 05 10:11 PM
Dynamic Arrays Chiba Excel Worksheet Functions 2 July 9th 05 03:58 AM
dynamic arrays in excel Koos Excel Programming 2 January 10th 04 02:30 PM


All times are GMT +1. The time now is 11:06 AM.

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"