Discussion Locked

MS Word VBA Copy marked text

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there anything in VBA that allows marking text, say with brackets or something else, and then later copying the text within the brackets or marked area? One purpose would be to read/mark/and then automatically extract a summary of the document for later review. Another would be to slice and dice a document to parse it for another use.

2 replies

by crapaud ergo sum

"Working with subdocuments
In a subdocument, you can work just as you would work in any other Word document ? add, remove, and edit text and graphics; check spelling; print part of the document; and so on. To work with the contents of a subdocument, open it from the master document. When subdocuments are collapsed in the master document, each subdocument appears as a hyperlink. When you click the hyperlink, Word displays the subdocument in a separate document window."

hope this helps

toad

by penai

toad of crapaud ergo sum

Thanks but I wasn't thinking about subdocuments. Actually, I found the answer myself. Instead of inserting brackets around the text of interest, I simply highlighted it and then searched for highlighted text.
Paul

This discussion is closed to new replies.