+ Reply to Thread
Results 1 to 2 of 2

Linest(known_y, known_x^{1,2,3)

Hybrid View

  1. #1
    anh82tb via OfficeKB.com
    Guest

    Linest(known_y, known_x^{1,2,3)

    Please tell me how to express the following expression in VBA
    Apllication.worksheetFunction.LinEst(array(4,5,19),array(1,3,5)^{1,2,3))
    Thanks in advande

    --
    Message posted via OfficeKB.com
    http://www.officekb.com/Uwe/Forums.a...mming/200607/1

  2. #2
    Greg Wilson
    Guest

    RE: Linest(known_y, known_x^{1,2,3)

    Try this:

    Sub abc()
    Dim arr As Variant, i As Integer
    arr = Application.Evaluate("LinEst({4;5;19},{1;3;5}^{1,2,3})")
    For i = LBound(arr) To UBound(arr)
    MsgBox arr(i)
    Next
    End Sub

    "anh82tb via OfficeKB.com" wrote:

    > Please tell me how to express the following expression in VBA
    > Apllication.worksheetFunction.LinEst(array(4,5,19),array(1,3,5)^{1,2,3))
    > Thanks in advande
    >
    > --
    > Message posted via OfficeKB.com
    > http://www.officekb.com/Uwe/Forums.a...mming/200607/1
    >


+ 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