4,374 questions
Issue fixed...
The variable has been defined as Double and this fixed the error.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When I specify a cell for the variable, it returns the value I would expect as per below.
but when I change arg3 to be defined by a function, it starts to return a #VALUE! error.
I don't understand the reason for this. The line of code which the variable is calculated from definited works as shown below.
Can somebody please help me find and fix the issue.
Thanks
Issue fixed...
The variable has been defined as Double and this fixed the error.