Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting Word Colors

Status
Not open for further replies.

JBU

Instructor
Nov 3, 2003
25
IN
Hi

In my VBA code I have a string containing the name of a color and I wnat to convert it into a Long.
In other words I have "wdColorDarkRed" and I want wdColorDarkRed.

All help would be greatly appreciated.

Jens Busse
Workflow Consultant
CCI Europe A/S
 

I think the only way you can do this is with the TypeLib Info Library (part of Visual Studio but available for download in several places on the web). Might I ask where you get the string from in order to need it converting?

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

Professional Office Developers Association
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top