Solved

MS Word - Need way to name blocks of text

Posted on 2014-12-18
3
141 Views
Last Modified: 2014-12-18
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
Comment
Question by:NDennisV
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 32

Accepted Solution

by:
Paul Sauvé earned 500 total points
ID: 40508025
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
 

Author Closing Comment

by:NDennisV
ID: 40508052
Thank you - That worked
0
 
LVL 32

Expert Comment

by:Paul Sauvé
ID: 40508511
Good stuff - glad to be of help

Thanks for the points
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question