AnsweredAssumed Answered

vrf activeX: setting colors in Word table - HELP!

Question asked by scubaman on Oct 30, 2002





Never mind, I think I found what's happening.  A test case worked fine.
The cells I was coloring already had a shading or background color
assigned, so somehow those effects overlapped.  I simply need to modify the
template document and change the backgorund of the cells in question to
transparent then it should be fine

--
Regards,
Rich
===========================
Richard Kleinhenz
mailto:scubaman@us.ibm.com
845-892-2617
===========================



                      Richard
                      Kleinhenz/Fishkil        To:       "VEE vrf" <vrf@it.lists.it.agilent.com>
                      l/IBM@IBMUS              cc:       "VEE vrf" <vrf@it.lists.it.agilent.com>
                                               Subject:  [vrf] Re: activeX&#058; setting colors in Word table - HELP!
                      10/31/2002 08:53
                      AM
                      Please respond to
                      Richard Kleinhenz










Still can't figure out why I don't ge the colors I expect - what am I
missing?

--
Regards,
Rich
===========================
Richard Kleinhenz
mailto:scubaman@us.ibm.com
845-892-2617
===========================



                      Richard
                      Kleinhenz/Fishkil        To:       "VEE vrf"
<vrf@it.lists.it.agilent.com>
                      l/IBM@IBMUS              cc:
                                               Subject:  [vrf] activeX&#058;
setting colors in Word table
                      10/30/2002 11:08
                      AM
                      Please respond to
                      Richard Kleinhenz









I'm trying to format some field colors in a table in a word document.
wdColorRed comes up as 255 and displays bright red.  wdColorGreen,
wdColorLightGreen and wdColorBrightGreen all come up with huge numbers and
are not a green tone.  What am I missing?  The actual activeX call I use is
wordapp.ActiveDocument.tables(table).Range.Cells(cell).Range.Shading.BackgroundPatternColor=bgcolor,


I'm feeding in table, cell and bgcolor.  Maybe it would help if I knew how
the colors are coded, but I thought the built-in values at least would
work.

--
Regards,
Rich
===========================
Richard Kleinhenz
mailto:scubaman@us.ibm.com
845-892-2617
===========================


---
You are currently subscribed to vrf as: scubaman@us.ibm.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email
"vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".




---
You are currently subscribed to vrf as: scubaman@us.ibm.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email
"vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".




---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes