> References to other sheets are always 'absolute' in Excel. If you put the
> following VB function in a standard module you can use it like this in a
[quoted text clipped - 31 lines]
> |
> | Any suggestions?!
Open the Visual Basic Editor (VBE) by pressing Alt-F11. From the Insert menu
pick Module. Paste my code in there and you can close the VBE and go back
to Excel.
This is a macro so your security settings may block this code from running.
Under Tools, Macros, Security you should set it to Medium so you can choose
to enable macros when this workbook opens.

Signature
Jim
| > References to other sheets are always 'absolute' in Excel. If you put the
| > following VB function in a standard module you can use it like this in a
[quoted text clipped - 35 lines]
| that the first bit (=SUM...) should go in a cell and the second bit
| (Function...) is VBA code that should go somewhere else. But where?! :)
paulkaye - 28 Aug 2007 14:42 GMT
> Open the Visual Basic Editor (VBE) by pressing Alt-F11. From the Insert menu
> pick Module. Paste my code in there and you can close the VBE and go back
[quoted text clipped - 45 lines]
> | that the first bit (=SUM...) should go in a cell and the second bit
> | (Function...) is VBA code that should go somewhere else. But where?! :)
Brilliant - that's perfect! Thank you very much.
Paul