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-2023 by Barry MacDonnell. All Rights Reserved.

Page updated Jul 30, 2017

ListWord - "Copies word(s) to the end of the document in list format"

Download LISTWORD.ZIP (v1.0; 06/21/07; 4,763 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

ListWord (v1.01)

This macro copies the selected word(s) or, if nothing is selected, the word at the cursor location, to the very end of the document, in list format.

The list itself can be selected, then sorted with Tools, Sort. This might also be handy if you just want to review the file and list some words or phrases that should be available for future indexing by adding them to an existing concordance file.

Optionally you can move (cut and paste) the list into another document where duplicates can be removed, the file can saved, and then used later as a concordance file to help index the document. See Operation below.

Operation

You should first ensure the list is placed on a separate page by entering a page break at the bottom of the document with <Ctrl+Enter> before playing the macro. This ensures a separate list will be created.

As noted, after the list has been created you can move (cut and paste) it to a new document window. There, you can remove duplicates (and automatically sort the list) with the RemDupes macro.

Once you remove duplicates and save the list to disk, it can be used as a concordance file to help generate an index

Note that if the word list is to be used as a concordance file, entries must be limited to 63 characters (including spaces) or else WordPerfect will fail to produce the concordance. You can use a variable in the macro's redlined User Modification Area to ensure the selection is trimmed to this maximum length. (Default = trim to 63 characters.) You can also use the TrimTo63 macro.

Finally, you can also set a variable to display or not display the confirmation message that appears immediately after the items are copied. (Default = display the message)