> .Fill.ForeColor.RGB = RGB(10, 10, 10)
That is pretty close to 0, which is black. For red, use
..Fill.ForeColor.RGB = RGB(255,0,0)
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)
On Mon, 6 Apr 2009 15:03:01 -0700, pacsol_mic
<(E-Mail Removed)> wrote:
>I AM TRYING TO INSERT A LINE AND MAKE IT RED BUT IT ISN'T WORKING
>
> Sheet40.Shapes.AddLine(MYCELL.Left + Centerstart, MYCELL.Top + HEIGHT,
>MYCELL.Left + Centerstart, MYCELL.Top).Select
>
> With Selection
> .Fill.ForeColor.RGB = RGB(10, 10, 10)
> .NAME = "HEIGHT1"
>End With