Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello;
I have searched the help files, several programming in excel books and this forum to try to discover how to convert a Range object into it's constituent double values in order to use Ln(...) in module.. eg dLog = Application.WorksheetFunction.Ln(oXValues) where "oXValues" is a range of values from a worksheet. Obviously a range object is not a Double. I am trying to produce the Slope and Intercept coefficients for a graph. IE for Logrythmic regression one would use Slope(knownYValues, LN(knownXValues)) & Intercept(knownYValues, LN(knowXValues)). This works great when used in a spreadsheet. However, Type Mismatch is returned when using "dLog = Application.WorksheetFunction.Ln(oXValues)" in a module. How would the Slope and Intercept values be discovered in VBA? TIA doco |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reuse Application.WorksheetFunction | Excel Discussion (Misc queries) | |||
Application.WorksheetFunction error | Excel Discussion (Misc queries) | |||
Need help with Application.WorksheetFunction | Excel Discussion (Misc queries) | |||
Accessing WorksheetFunction.XX from regular C# Forms application | Excel Worksheet Functions | |||
Application.WorksheetFunction.Match problem | Excel Worksheet Functions |