Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate

Barry MacDonnell's
Toolbox for WordPerfect

Macros, tips, and templates for Corel® WordPerfect® for Windows®
© Copyright 1996-2018 by Barry MacDonnell. All Rights Reserved.

Page updated Jul 30, 2017

IndxWord - "Mark words as Index entries"

Download INDXWORD.ZIP (v1.0; 11,20,03; 3,360 bytes)

Compatible with WordPerfect 9 and later versions

WordPerfect 11 users: See important information about using macros in the first release of WP11 (11.0.0.233) at the top of this page.

Downloading, Documentation, Modifications, and Support



Related pages -

• 
Indexing documents with WordPerfect (manual and concordance methods)

•  Index Tools - Tutorials, macros, and tips to help you index a document 

IndxWord (v1.01)

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 bar>, Mark.

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

¤  Due to limitations in the WordPerfect program, only the first 64 characters will be marked in each block of selected text. You may need to edit the index to remove partial "trailing" words from some longer entries, or -- better -- just select a shorter string of text before playing the macro.

¤ 
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:
· Heading
· Subheading
4 Click Mark.

Tip: You can mark a concordance entry twice, for use as both a heading and a subheading."