Loop through worksheets without using VBA

Posted by Antony Carthy on Stack Overflow See other posts from Stack Overflow or by Antony Carthy
Published on 2010-05-26T11:14:09Z Indexed on 2010/05/26 11:41 UTC
Read the original article Hit count: 193

Filed under:
|

Hi All,

I need to total certain cells based on a condition across all worksheets in the workbook.

The pseudocode would be

Foreach ws as Worksheet
    'total =SUMIF (A2:A5, "search term", B2:B5)
Next
MsgBox (total)

But I don't want to use a macro.

Any ideas?

© Stack Overflow or respective owner

Related posts about excel

Related posts about excel-2007