To the VBA Express community,

Any help or tips would be appreciated.

My aim is input a range of values for one of the inputs in the following equation (V), and to then graph the output (XoverL) against that variable.

Function XoverL(u As Double, V As Double, e As Double, dc As Double, N1 As Integer, N2 As Integer) As Double
    XoverL = N1 * u * V * ((1 - e) ^ (3 / 2) * (1 + 56 * (1 - e) ^ 3) / dc ^ 2)
End Function
 
Sub test()
    MsgBox XoverL(1, 0.05, 0.752, 0.000023, 64, 56)
End Sub
Thanks,
ITY