Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[blue]
Function WhatInteriorColor(rng As Range) As String
'Skip Metzger - 2007 May 29
'this function returns the color of the interior of a given cell
'
Select Case rng.Interior.Color
Case vbBlack
WhatInteriorColor = "Black"
Case vbRed
WhatInteriorColor = "Red"
Case vbGreen
WhatInteriorColor = "Green"
Case vbYellow
WhatInteriorColor = "Yellow"
Case vbBlue
WhatInteriorColor = "Blue"
Case vbMagenta
WhatInteriorColor = "Magenta"
Case vbCyan
WhatInteriorColor = "Cyan"
Case Else
Select Case rng.Interior.ColorIndex
Case 2
WhatInteriorColor = "White"
Case xlColorIndexNone
WhatInteriorColor = "None"
Case Else
WhatInteriorColor = "Other"
End Select
End Select
End Function
[/blue]