How to change borderline color using RGB

D

dingding

I need to change cell border line color to RGB(222,201,150)? I'm using Excel
2003
 
T

TK

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
 
Top