The WorksheetFunction Object
Another useful top-level object to know about is the WorksheetFunction object. That object provides the functions from the Excel formula bar to your Visual Basic code. Some of these members
are redundant with those provided by the VBA object library, however, others provide very useful (and advanced) analytical and statistical functions, as described in Table 4-8.
Table 4-8. Members of the WorksheetFunction object
|
Member |
Description |
|---|---|
|
|
Returns the arccosine, or inverse cosine, of a number. The arccosine is the angle whose cosine is a number. The returned angle is given in radians in the range 0 to π. |
|
|
Returns the inverse hyperbolic cosine of a number. |
|
|
The same as the Visual Basic |
|
|
Converts double-byte characters to single-byte characters. |
|
|
Returns the arcsine, or inverse sine, of a number. The arcsine is the angle whose sine is the given number. The returned angle is given in radians in the range −π/2 to π/2. |
|
|
Returns the inverse hyperbolic sine of a number. |
|
|
Returns the arctangent, or inverse tangent, of the specified x- and y-coordinates. |
|
|
Returns the inverse hyperbolic tangent of a number. |
|
|
Returns the average of the absolute deviations of data points from their mean. |
|
|
Returns the average (arithmetic mean) of the arguments. |
|
|
Returns the beta cumulative distribution function. |
|
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access