How to change borderline color using RGB

  • Thread starter Thread starter dingding
  • Start date Start date
If you're using VBA, select the cell you wanted to change the border line
color and run the following code:

Selection.BorderAround LineStyle:=xlContinuous, Weight:=xlThin,
ColorIndex:=RGB(222, 201, 150)

Or else using interactively, use Format -> Border tab.

-TK
 
Back
Top