microsoft_excel:macro_get_color
Differences
This shows you the differences between two versions of the page.
microsoft_excel:macro_get_color [2020/11/15 20:40] – created peter | microsoft_excel:macro_get_color [2021/08/04 14:22] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Microsoft Excel - Macro 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/macro_get_color.1605472857.txt.gz · Last modified: 2020/11/15 20:40 by peter