Change color of named Word style (W)

Modified on Mon, 5 Oct at 1:55 PM

With BaseExtensions, we are able to change the color of a named style in Word. Use this link to see built-in styles. If the member name of a style is defined in the module, it will be the matching style name under description, that changes in the document. For instance, if "wdStyleHeading1" is defined as style name in module, this feature changes the color of style "Heading 1" in Word.

Module is located here:

Code
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\51_W_changeStyleColor.xml

CMD

<Cmd case="BaseExtensions:change-named-style-font-color" name="x" color="x,x,x"/>

Parameters

name

Define name of style to be changed.

color

Define what color the style should be changed to using RGB format.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article