P
Philosophaie
Program:
Pi=Application.WorksheetFunction.Pi
If z/m=Pi/2 or z/m=3*P/2 Then
Msgbox("N/A")
Else
n = Function.WorksheetFunction.Acos(z/m)
End If
Error code:
Run-time Error '1004':
Unable to get the Acos property of the WorksheetFunction.
Pi=Application.WorksheetFunction.Pi
If z/m=Pi/2 or z/m=3*P/2 Then
Msgbox("N/A")
Else
n = Function.WorksheetFunction.Acos(z/m)
End If
Error code:
Run-time Error '1004':
Unable to get the Acos property of the WorksheetFunction.