The following table shows the Color property constants you can use anywhere in your code in place of actual values.
Constant |
Value |
Description |
vbBlack | &h00 | Black |
vbRed | &hFF | Red |
vbGreen | &hFF00 | Green |
vbYellow | &hFFFF | Yellow |
vbBlue | &hFF0000 | Blue |
vbMagenta | &hFF00FF | Magenta |
vbCyan | &hFFFF00 | Cyan |
vbWhite | &hFFFFFF | White |