How to use arrays in VBA functions? : <p>I need to do public function that takes values from certain array and computes  f(x) function for every x, where f(x) = x^3 + 1/5x +2. <a href="http://i.stack.imgur.com/k8yrC.jpg" rel="nofollow">this is what I am doing but doesnt work</a> </p>
