Find below the list of visual basic (VB) constants associated with the basic VB colors that can be used when coding VB/VBA in place of the actual values. These VB constants do not belong to any specific enumeration.
Constant |
Value |
Description |
vbBlack |
0x0 |
Black |
vbRed |
0xFF |
Red |
vbGreen |
0xFF00 |
Green |
vbYellow |
0xFFFF |
Yellow |
vbBlue |
0xFF0000 |
Blue |
vbMagenta |
0xFF00FF |
Magenta |
vbCyan |
0xFFFF00 |
Cyan |
vbWhite |
0xFFFFFF |
White |
No comments:
Post a Comment