Function with multiple parameters
<p>I have a VBA function with multiple arguments, which I need to get from the excel sheet and not from a sub, how do I divide the inputs into the number of parameters i need for my function? </p>

<p>Ex:</p>

<pre><code>Function func(a as double,b as double) as double
    'calculations
    'some return value
End Function
</code></pre>

<p>This is how I have been trying to get the values:</p>

<p><a href="https://i.stack.imgur.com/Fu0DD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fu0DD.png" alt="This is how I have been trying to get the values"></a></p>