How do I change the Font Color with VB

I wrote a VB Script that creates an MS Outlook Signature; pulling data from Active Directory.   I want to have the company name show as RED, and the rest of the signature show as black.  

When I put ObjSelection.Font.Color = "192,039,045" or objSelection.Font.Color = "000,000,000" above/below the company name, either the entire signature is black or everything below the company name is RED.

Here is the format of the signature:

Logo
Name / Title
Company Name
Address
Phone
Fax
URL
On Error Resume Next
 
Set objSysInfo = CreateObject("ADSystemInfo")
 
strUser = objSysInfo.UserName
Set objUser = GetObject("LDAP://" & strUser)
 
strName = objUser.FullName
strTitle = objUser.Title
strCompany = objUser.Company
strPhone = objUser.telephoneNumber
strMobile = objUser.mobile
strFax = objUser.faxNumber
strEmail = objUser.emailAddress
strStreet = objUser.streetAddress
 
Set objWord = CreateObject("Word.Application")
 
Set objDoc = objWord.Documents.Add()
Set objSelection = objWord.Selection
 
Set objEmailOptions = objWord.EmailOptions
Set objSignatureObject = objEmailOptions.EmailSignature
 
Set objSignatureEntries = objSignatureObject.EmailSignatureEntries
objSelection.InlineShapes.AddPicture("c:\downloads\INDS_SIGNATURE.jpg")
objSelection.TypeParagraph()
objSelection.Font.Name = "Tahoma"
objSelection.Font.Size = "8"
objSelection.Font.Bold = true
objSelection.TypeText strName & " / " & strTitle
objSelection.TypeParagraph()
objSelection.Font.Bold = true
objSelection.Font.Size = "8"
objSelection.Font.Color = "192,039,045"
objSelection.TypeText strCompany
objSelection.Font.Color = "000,000,000"
objSelection.Font.Size = "7"
objSelection.TypeParagraph()
objSelection.Font.Bold = false
objSelection.TypeText strStreet
objSelection.TypeParagraph()
objSelection.TypeText "Phone: " & " 800-942-0400 / 516-228-8600 " & strPhone
objSelection.TypeParagraph()
objSelection.TypeText "Fax: " & strFax
objSelection.TypeParagraph()
objSelection.TypeText "www.inds.com"
objSelection.TypeParagraph()
Set objSelection = objDoc.Range()
 
objSignatureEntries.Add "AD Signature", objSelection
objSignatureObject.NewMessageSignature = "AD Signature"
objSignatureObject.ReplyMessageSignature = "AD Signature"
 
objDoc.Saved = True
objWord.Quit

Open in new window

rckollarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sungenwangCommented:
looked up some resource:

Instead of:
   objSelection.Font.Color = "192,039,045"
Use:
   objSelection.Font.Color = vbRed

Instead of:
   objSelection.Font.Color = "000,000,000"
Use:
   objSelection.Font.Color = vbBlack

Hope this helps...
sew

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Languages-Other

From novice to tech pro — start learning today.