microsoft_excel:macros:get_color
Differences
This shows you the differences between two versions of the page.
microsoft_excel:macros:get_color [2021/08/04 14:22] – created peter | microsoft_excel:macros:get_color [2021/08/04 14:40] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Microsoft Excel - Macros - Get Color ====== | ||
- | |||
- | < | ||
- | Function GetFillColor(Rng As range) As Long | ||
- | GetFillColor = Rng.Interior.ColorIndex | ||
- | End Function | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Usage ===== | ||
- | |||
- | Get the Excel Color Number | ||
- | |||
- | < | ||
- | =GetFillColor(Cell No) | ||
- | </ | ||
microsoft_excel/macros/get_color.1628086940.txt.gz · Last modified: 2021/08/04 14:22 by peter