I am an excel noob trying to make a custom excel function that uses degrees while calculating sin of an angle.
Public Function SIND(number As Double)
Formula = "SIN(RADIANS(number))"
Formula = Replace(Formula, "number", number)
SIND = Evaluate(Formula)
End Function
So far I have this but it doesn't work