User Tools

Site Tools


microsoft_excel:macros:colors:get_color

Microsoft Excel - Macros - Colors - 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/colors/get_color.txt · Last modified: 2021/08/04 14:41 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki