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
 

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

Back
Top