T
tyeung4
I have a UDF that takes an argument:
Function func( Optional s1 As String )
If s1 = "A" Then
func = 10
Else
func = 20
End If
End Function
In a workbook,
A B
1 A =ROUND(func(A1)/10, 2)
The value in B1 is 1.00. I saved the workbook, and re-opened i
automatic
calculation mode. As soon as I changed the content of A1 to B, value i
B1
was changed to #NAME.
Anyone knows why?
Teres
Function func( Optional s1 As String )
If s1 = "A" Then
func = 10
Else
func = 20
End If
End Function
In a workbook,
A B
1 A =ROUND(func(A1)/10, 2)
The value in B1 is 1.00. I saved the workbook, and re-opened i
automatic
calculation mode. As soon as I changed the content of A1 to B, value i
B1
was changed to #NAME.
Anyone knows why?
Teres