Appendix B. VBScript Constants

What follows is a series of tables listing the intrinsic constants supported by VBScript and their values. Note that, because the constants are part of the VBScript language, you don’t have to define them using the Const statement.

Color Constants

These constants represent the values returned by RGB for standard colors:

Constant

Value

Description

vbBlack

0

Black

vbRed

255

Red

vbGreen

65280

Green

vbYellow

65535

Yellow

vbBlue

16,711,680

Blue

vbMagenta

16,711,935

Magenta

vbCyan

16,776,960

Cyan

vbWhite

16,777.215

White

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.