• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

10.5. VBA Operators

VBA uses a handful of simple operators and relations, the most common of which are shown in Table 10.5.

Table 10.5. VBA Operators and Relations
Type Name Symbol
Arithmetic Operators Addition +
  Subtraction -
  Multiplication *
  Division /
  Division with Integer result \
  Exponentiation ^
  Modulo Mod
String Operator Concatenation &
Logical Operators AND AND
  OR OR
  NOT NOT
Comparison Relations Equal =
  Less than <
  Greater than >
  Less than or equal to <=
  Greater than or equal to >=
  Not equal to <>



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint