As far as I understand ColorIndex is limited to only 54 pre-defined colors, which makes the use of branding colors nearly impossible.
1. There are 56 choices on the palette, but you can change them persistently for a workbook
Sub ChangePalette()
ThisWorkbook.ResetColors
ThisWorkbook.Colors(24) = RGB(226, 234, 234)
End Sub
What is the original border? When I click on the border tool, it says automatically black - but the borders aren't black.
2. There are the normal cell gridlines that display [View tab, Show, Gridlines], and then there can be borders around the cell or cells
Is there a command in Excel similar to this PowerPoint thing:
3. This should remove any Fill. I usually use xlColorIndexAutomatic
Selection.Interior.Color = xlNone
Selection.Interior.ColorIndex = xlColorIndexNone . removes fill
Selection.Interior.ColorIndex = xlColorIndexAutomatic ' makes white
4. For some reason, a fill of white (vbWhite) is apparently treated a little differently
This a a slight mod; see if it works for you
Public Sub FillUndo()
FillUndoRange.Parent.Select
FillUndoRange.Select
With Selection
If FillUndoColor = vbWhite Then
.Interior.Color = xlNone
Else
.Interior.Color FillUndoColor
End If
End With
End Sub