Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am running late binding to word, and am needing to replace word variables
with there actual values, I have figured out how to replace all of them except text color. Is there anyone who knows of a resource where I could find values for word Late binding. (Specifically text coloring) Ben -- When you lose your mind, you free your life. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Probably the object browser with a reference set to the word object library.
There is a Constant Class called - WdColorIndex select that under Class and then look at the members. select each one in the object brower and look at the value. Usage example: ActiveDocument.Paragraphs(1).Range.Font.ColorIndex = wdGreen wdGreen has a value of 11 so ActiveDocument.Paragraphs(1).Range.Font.ColorIndex = 11 there is also a constant class called WdColor. You can look at that too. -- Regards, Tom Ogilvy "ben" (remove this if mailing direct) wrote in message ... I am running late binding to word, and am needing to replace word variables with there actual values, I have figured out how to replace all of them except text color. Is there anyone who knows of a resource where I could find values for word Late binding. (Specifically text coloring) Ben -- When you lose your mind, you free your life. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom, it was the WdColor reference I needed, Never new I could look up
values in there, thanks much. -- When you lose your mind, you free your life. "Tom Ogilvy" wrote: Probably the object browser with a reference set to the word object library. There is a Constant Class called - WdColorIndex select that under Class and then look at the members. select each one in the object brower and look at the value. Usage example: ActiveDocument.Paragraphs(1).Range.Font.ColorIndex = wdGreen wdGreen has a value of 11 so ActiveDocument.Paragraphs(1).Range.Font.ColorIndex = 11 there is also a constant class called WdColor. You can look at that too. -- Regards, Tom Ogilvy "ben" (remove this if mailing direct) wrote in message ... I am running late binding to word, and am needing to replace word variables with there actual values, I have figured out how to replace all of them except text color. Is there anyone who knows of a resource where I could find values for word Late binding. (Specifically text coloring) Ben -- When you lose your mind, you free your life. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Late Binding examples of binding excel application | Excel Programming | |||
late binding onto Word problem | Excel Programming | |||
EARLY binding or LATE binding ? | Excel Programming | |||
DAO Late Binding? | Excel Programming | |||
Early vs Late Binding - Word | Excel Programming |