| Barry MacDonnell's
Toolbox for WordPerfect
Macros, tips, and
templates for Corel® WordPerfect® for Windows®
| Page updated Jul 30, 2017
|IndxWord - "Mark words as Index entries"|
Related pages -
• Indexing documents with WordPerfect (manual and concordance methods)
• Index Tools - Tutorials, macros, and tips to help you index a document
This macro marks the selected word(s) or (if nothing is selected) the word at the cursor location, as an index entry (i.e., as an index Heading item).
It is useful if you have just a few
words to add to the index and don't want to bother with Tools, Reference, Index, <select
words>, <click in the Heading field on the Index property
This macro does all of that for you; however, it does not let you create a Subheading (you must use the Index property bar for that).
Notes and limitations
¤ If no word is selected at the cursor location, the macro will simply terminate.
¤ As mentioned above, the macro does not let you create a Subheading (you must use the Index property bar for that). It creates only Heading entries.
¤ Assign this macro to a keystroke combination for easy access while editing the document.
¤ You can delete the message that pops up by deleting the redlined code in the macro.
¤ You can mark a concordance file, too:
From WordPerfect 12's online Help <F1>:
"...By default, each entry in the concordance file appears as a heading in the index. However, you can also mark an entry as a subheading. The capitalization you used in the concordance file, not the capitalization in the indexed document, determines how the index entries display once you generate the index.
When you mark an index entry manually, you must designate it as either a heading or a subheading entry....
To mark a heading or a subheading in a concordance file
1 Select a word.
2 Click Tools Reference Index.
3 Choose the selected word from any of the following list boxes:
4 Click Mark.
Tip: You can mark a concordance entry twice, for use as both a heading and a subheading."