Thread
:
VBA function for "Mean" using Array as argument
View Single Post
#
3
Conrad Carlberg
Posts: n/a
Oops. Bonehead. Instead of:
arr(i) = ActiveSheet.Cells(i, 1)
you'd want something like:
arr(i) = rng.Cells(i)
--
C^2
Conrad Carlberg
Excel Sales Forecasting for Dummies, Wiley, 2005
Reply With Quote