Logical and TriState Constants
In many cases, only the logical constants vbTrue
and vbFalse
can be used. In other cases, the third
constant, vbUseDefault, can be used to indicate a setting that is
neither True
nor False
or a
setting that is defined elsewhere in the system:.
Constant |
Value |
Description |
---|---|---|
|
0 |
False |
|
-1 |
True |
|
-2 |
Use the default value defined by the system, or not applicable |
Get VBScript in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.