Change color of hidden paragraph mark

H

Helen Tasky

How can I permanently change the color of the hidden paragraph mark.

Thank you.
 
D

Doug Robbins - Word MVP

Not quite sure what you mean by "hidden paragraph mark" If you want to
change/set a colour for hidden text, create a new character style that has
the desired attributes of hidden and colour.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
G

garfield-n-odie

You can't. But you can create a macro that formats a selected paragraph
mark as hidden and the color of your choice, and assign the macro to a
keyboard shortcut or to a button on a toolbar.
 
H

Helen Tasky

Let me give a scenario.

When you want 2 different styles on the same line in a TOC you use a hidden
paragraph mark. I want to be able to bring up the document and see that the
paragraph mark is in fact hidden by changing its color. Is this what the
macro does?

Thank you.
 
G

garfield-n-odie

Hi Helen. Yes, you can create a macro that formats the paragraph mark
as hidden and changes the color of the paragraph mark to another color.
The macro might look like:

Sub HiddenParaMark()
'
' HiddenParaMark Macro
'
With Selection.Font
.Hidden = True
.Color = wdColorPink
End With
End Sub

I chose the hot pink color in the example, but you can choose any color
you want. You can assign the macro to either a toolbar button or a
keyboard shortcut through Tools | Customize.

How it works is: you create a paragraph of one style on one line, a
paragraph of another style on the next line, manually highlight the
paragraph mark at the end of the first line, and run the macro. Of
course to be able to see the hidden text on screen, you will need to
turn on Hidden Text in Tools | Options | View.

Hope this helps.
 
H

Helen Tasky

I am very macro illiterate. How can I get those codes into a macro?

Sorry for the naiveness...

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top