P
Prof Wonmug
If I code a Function statement
Function Temp(Optional abc As Single)
then calling the function with no arguments
=temp()
[abc] gets assigned the value "0" and the IsMissing(abc) test always
fails. If I change the Function statement to
Function Temp(Optional abc)
then everything works.
Is there no way to have an optional numeric argument and be able to
assign the default in the function?
Function Temp(Optional abc As Single)
then calling the function with no arguments
=temp()
[abc] gets assigned the value "0" and the IsMissing(abc) test always
fails. If I change the Function statement to
Function Temp(Optional abc)
then everything works.
Is there no way to have an optional numeric argument and be able to
assign the default in the function?