Results 1 to 5 of 5

Thread: [RESOLVED] SIN function

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2008
    Posts
    250

    Resolved [RESOLVED] SIN function

    Hello!

    By trying to develope one very complex worksheet calculation, i have learned a bit of VB and now i'm thinking in a whole new level to create excell functions easier.

    I have created "SINUS" function (see code below). I renamed it to SIN, but excell would use the original sin function. Can I redefine the original one to mine or remove it?

    Code:
    Function SINUS(ByVal Value As Integer)
        br = "=SIN(RADIANS(" & Value & "))"
        SINUS = Evaluate(br)
    End Function
    Last edited by Raivis; Aug 22nd, 2008 at 09:25 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width