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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top