Math

Exp()

Returns a number containing the base of a natural logarithm (e) raised to the specified power.  The return value is a double type.

Cos()

Calculates the cosine of a specified angle.  It returns a double value.

Atn()

Calculates the value containing the angle whose tangent is the specified number.  The result is a double type.  The example below calculates pi.

Abs()

Returns the absolute value of a specified number.

Logical Operators

VBA has six logical operators:

Comparison Operators

The comparison operators are used to perform comparisons between expressions. A comparison expression is actually a logical expression, evaluating to True or False depending on the data and operator used.

= Equal to
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
<> Not equal to

Pages

Subscribe to RSS - Math