S
stephenc
the following code fails with "invalid procedure call or argument". Can you
see why?
Sub test()
cosh = 1.5009
myAnswer = Atn(-cosh / Sqr(-cosh * cosh + 1)) + 2 * Atn(1)
MsgBox myAnswer
End Sub
It calculates the aCos (inverse cosine) of cosh, and uses the nonintrinsic
math formula given in Word 2003 help. cosh is normally variable but 1.509 is
typical for it.
see why?
Sub test()
cosh = 1.5009
myAnswer = Atn(-cosh / Sqr(-cosh * cosh + 1)) + 2 * Atn(1)
MsgBox myAnswer
End Sub
It calculates the aCos (inverse cosine) of cosh, and uses the nonintrinsic
math formula given in Word 2003 help. cosh is normally variable but 1.509 is
typical for it.