Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How to change borderline color using RGB

I need to change cell border line color to RGB(222,201,150)? I'm using Excel
2003
  #2   Report Post  
Posted to microsoft.public.excel.misc
TK TK is offline
external usenet poster
 
Posts: 177
Default How to change borderline color using RGB

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

  #3   Report Post  
Posted to microsoft.public.excel.misc
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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkbox to change background color, font color and remove/ add bo Sara Excel Discussion (Misc queries) 2 May 1st 23 11:43 AM
Change tab color based on current color of a cell MarkT Excel Discussion (Misc queries) 0 May 22nd 08 05:46 PM
excel question borderline programing gimp New Users to Excel 1 June 25th 06 06:01 AM
How to change the default Border, Font Color, and Cell Color Elijah Excel Discussion (Misc queries) 3 November 2nd 05 11:52 PM
Allow users to change the color of the comment indicator color so. DanC Excel Discussion (Misc queries) 1 February 25th 05 05:15 PM


All times are GMT +1. The time now is 08:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"