Excel VBA, Get Color Code
This article provides a sample for getting the desired color code. The user selects a fill color for the cell A1. After pressing the Get Code button the color code used will be printed in cell B1.
It can be seen from the figures below that after the user selects a fill color for the cell A1 and presses the Get Code button the color code is printed in cell B1:
Color code 15773696:
You can download the file and code related to this article here.
- Excel VBA, Color Code
- Excel VBA, RGB
- Excel VBA, Getting the Color Code Using the Macro Recorder
- Excel VBA, ColorConstants
- Excel VBA, XlRgbColor
- VBA Excel, Colors
- Excel VBA, Color Dialog xlDialogEditColor