| Barry MacDonnell's
Toolbox for WordPerfect
Macros, tips, and
templates for Corel® WordPerfect® for Windows®
| Page updated Jul 30, 2017
|Caps2End - "Send Capitals to the End of the document"|
Related pages -
• Indexing documents with WordPerfect (manual and concordance methods)
• Index Tools - Tutorials, macros, and tips to help you index a document
This macro locates all words with initial capital letters in a (usually) sorted list and either copies or moves them to the end of the list.
This is a companion macro to WordList.wcm, when that macro is used to create a comprehensive list of all the different words in a document (for indexing purposes) and the user de-selects (clears the checkbox for) the menu choice in the macro to "Convert all items in the Alphabetical list to Lower case"..
Caps2End can, of course, be used standalone on any list of words.
• See Upper2New for a macro that copies words in all UPPERCASE letters (containing 2 or more letters) from the main body text area of the current document and lists them in a new document.
• See the macro on the IndexDocs page (footnote 2) that simply trims out all lower case items from any list created in a separate document (such as a concordance file), leaving behind just those items with one ore more upper case letters, regardless of where the upper case letter is in the item. This might be useful to isolate names, proper nouns, acronyms, etc.