Tutorial by Examples

Listed in order of precedence: TokenName              Description^ExponentiationReturn the result of raising the left-hand operand to the power of the right-hand operand. Note that the value returned by exponentiation is always a Double, regardless of the value types being divided. Any coercion of...
VBA supports 2 different concatenation operators, + and & and both perform the exact same function when used with String types - the right-hand String is appended to the end of the left-hand String. If the & operator is used with a variable type other than a String, it is implicitly cast to...
TokenName                           Description=Equal toReturns True if the left-hand and right-hand operands are equal. Note that this is an overload of the assignment operator.<>Not equal toReturns True if the left-hand and right-hand operands are not equal.>Greater thanReturns True if th...
All of the logical operators in VBA can be thought of as "overrides" of the bitwise operators of the same name. Technically, they are always treated as bitwise operators. All of the comparison operators in VBA return a Boolean, which will always have none of its bits set (False) or all of...

Page 1 of 1