Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

MS Word - Need way to name blocks of text

I need something in MS Word that can be hidden that will identify specific paragraphs or blocks of text.

I'll be embedding these markers in a large MS Word document.

Something like:

Line one
<<Line Two Begins here>>
Line two
<<Line Two Ends here>>
Line three

In the above example Line Two is surrounded by <<  >> markers.

I will then use C# code to find these markers to show only the text between them.

I looked at Fields but they are too much trouble.

Bookmarks do not help because you cannot easily see their names.

And I do not see how section breaks could help.

Is there something in MS Word like C# comments:

 /* comment here */

that can be hidden?

Thanks
0
NDennisV
Asked:
NDennisV
  • 2
1 Solution
 
Paul SauvéCommented:
I know that this works in MS Word 2007 and later:

EDIT: Enter and select the text you want to hide.

Home tab -> Font group, click the dialog box launcher (small arrow in box to the right of the word Font). In the Effects area, check the Hidden box -> click OK.

To hide/unhide the text click on the "¶" mark in the Home tab -> Font group!
0
 
NDennisVAuthor Commented:
Thank you - That worked
0
 
Paul SauvéCommented:
Good stuff - glad to be of help

Thanks for the points
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now