Change color of hidden paragraph mark

  • Thread starter Thread starter Helen Tasky
  • Start date Start date
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
 
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.
 
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.
 
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.
 
I am very macro illiterate. How can I get those codes into a macro?

Sorry for the naiveness...

Thanks!
 
Back
Top