+ Reply to Thread
Results 1 to 4 of 4

VBA help with function formulas

  1. #1
    Registered User
    Join Date
    07-28-2008
    Location
    CPH
    Posts
    3

    VBA help with function formulas

    I'm taking a course in excel where we also need vba, i have the basics in place.

    All the formulas my teacher makes demands that you remember in what order you enter your variables - Normally when using a function in excel it tells you in what order you put in the variables.

    I know this is possible in vba, but not sure how.

    example, using vba to calculate blackScholes formula.


    Please Login or Register  to view this content.
    When i in excel write =blackScholes then I insert the variables S,x,r,T, sigma, but i would like excel to to tell me in what order, by showing a letter of S,x,r,T or sigma

    Anyone who can help me?
    Last edited by Chris Hansen; 10-20-2009 at 12:15 PM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: VBA help with function formulas

    Quote Originally Posted by Chris Hansen View Post
    When i in excel write =blackScholes then I insert the variables S,x,r,T, sigma, but i would like excel to to tell me in what order, by showing a letter of S,x,r,T or sigma

    Anyone who can help me?
    If you use the function wizard (by clicking the Fx button on the formula bar),
    the function arguments will display.
    OR
    After you type the function name through the left parenthesis,
    CTRL+A to see the arguments.

    Does that help? ...or are you looking for something else?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: VBA help with function formulas

    what library are you using for your blackscholes function?

  4. #4
    Registered User
    Join Date
    07-28-2008
    Location
    CPH
    Posts
    3

    Re: VBA help with function formulas

    @Ron

    Yes this gives me the information i need - but why doesn't is show automatically -Can i force it?
    When you use excels own formulas it shows the "help" right at the line you are typing...

    @Tony - library, remember i just know the basics about writing a "code" :-)
    Last edited by Chris Hansen; 10-20-2009 at 11:43 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1