Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MS Word - Need way to name blocks of text

Posted on 2014-12-18
3
Medium Priority
?
165 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 2000 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

688 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