Link to home
Start Free TrialLog in
Avatar of New_Alex
New_AlexFlag for Cyprus

asked on

VBA for Microsoft Word, Macro to Display the Patterns of all available text highlight Colors on a form

I am looking for a Microsoft Word VBA macro, to Display the Patterns of all available text highlight Colors (found in the standard word home menu) with their numbers.

It should be something like this:

UserForm1

(Colored Rectangle with the Color1) Number of Color1
(Colored Rectangle with the Color2) Number of Color2
(Colored Rectangle with the Color3) Number of Color3

Etc.....

Any Ideas?

Full points given.




ASKER CERTIFIED SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Oops.

"hightliogh colours don't have a partter"

should be

highlight colours don't have a pattern"
Avatar of New_Alex

ASKER

Hi Graham....

Thanks for the answer. I will give you the points but with a Grade C, because it didn't actually answered my question.

I found a way to do the coding using colored buttons in a form. When I click a colored button it assigns a global variable to it.

Anyway.