markup a word document

I have a word document and I would like to assign a tag or some other way of defining a block of text to a specific name so that I can use it in a macro to fill out another document.
LVL 1
HalCHubAsked:
Who is Participating?
 
GrahamSkanConnect With a Mentor RetiredCommented:
You should use a Bookmark. Select the text and click on Bookmark on the Insert tab.

The contained text is returned by:

ActiveDocument.BookMarks("MyBookmark").Range.Text
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.