Originally Posted by
kayard
I need to wrap a complicated worksheet array function is some VBA code to improve sheet readability. How can I do it ?
Firstly, note UDFs will generally perform slower than their native equivalents.
In terms of improving readability - why not use Named ranges ?
If you are intent on using VBA you can use Evaluate to process the Array if you like:
Note: in the above I used SUM in the Evaluate rather than SOMMA on the basis that I suspect Evaluate will use the Americanised function name rather than Local but I could be wrong (have not tested).
Bookmarks