View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
dingding dingding is offline
external usenet poster
 
Posts: 2
Default How to change borderline color using RGB

But this won't work in 2003, might work in 2007. Thanks,

"TK" wrote:

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
"dingding" wrote:

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