Consulting

Results 1 to 5 of 5

Thread: spreadsheet functions

  1. #1
    VBAX Contributor
    Joined
    Aug 2006
    Posts
    120
    Location

    spreadsheet functions

    Hi, Im trying to use funtions in a spreadsheet inside a userform. The financial function (Present Value) asks for Values, Dates and the Rate. I use it to calculate cash flows etc. In Excel one has to select the advanced analysis to be able to use it but being the formula in the web component, how do i install it?

  2. #2
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    You can still use it..

    [vba]Application.WorksheetFunction.Pv(Arg1, Arg2, Arg3, [Arg4], [Arg5])[/vba]

    Just replace each argument (ArgX) with your objects (i.e. Me.TextBox1.Value). Is that waht you are talking about?

  3. #3
    VBAX Contributor
    Joined
    Aug 2006
    Posts
    120
    Location
    Thanks Firefytr, but no. I dont need the value in my spreadsheet, I need the actual formula (in my "Spanish" version of Excel = ) VNA.NO.PER

  4. #4
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    You can't do that. The only thing you can do is simulate it with objects, or (post 97 versions) use a modeless userform and allow interaction between the spreadsheet and the userform(s).

  5. #5
    VBAX Contributor
    Joined
    Aug 2006
    Posts
    120
    Location
    maybe im not explaning my self, the spreadsheet cant have addin funtions?
    I posted what im trying to do

Posting Permissions

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