Solved

MS Word - Need way to name blocks of text

Posted on 2014-12-18
3
151 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 33

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 33

Expert Comment

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

Thanks for the points
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
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: …

626 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