|
-
Feb 26th, 2010, 06:57 PM
#1
Thread Starter
New Member
Using SIN with VBA
Can anyone help?
I am having quite problem with converting Radian to Degrees using VBA. I do not know how to achive this.
The code goes like this:
Private Sub Sinus()
Dim Number As Double
Number = Sin(90)
MsgBox Number
End Sub
What I need is to convert radian to degrees using VBA sin function and get correct reuslt in MsgBox. As far as I know it should return "1", but it does not. Probably because VBA Sin function uses Radian.
Thanks for replay in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|