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

Page updated Jan 18, 2014

COMMENTR - A macro that can convert all WordPerfect comments to highlighted text, hidden text, normal text, footnotes, or endnotes -- or it can copy them to a separate document

Download COMMENTR.ZIP (version 1.31; 01/18/14; 28,391 bytes)

Compatible with WordPerfect 8 and later versions

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

Downloading, Documentation, Modifications, and Support


Purpose and operation

Comment Converter.wcm can either

  • convert all WordPerfect Comments (created with Insert, Comment) in the body text area of the current document to highlighted text, normal text, hidden text, footnotes, endnotes; or
  • copy all Comments in the document to a separate (temporary) document, to provide a convenient list of Comments in the original document.

You can then print the document and then

  • undo the change with Edit, Undo; or
  • close the document without saving changes; or
  • save it in the usual manner.

Other menu options can delete all Comments, highlight formatting, or highlighted text.

If there are no comments found in the document the macro will display a message and then exit.

[Screen shot of menu]


You can set menu and other defaults in the macro's User Modification Area (open the macro as you would any WordPerfect document, make changes as indicated, and save the macro with the Save & Compile button on the macro toolbar).

Related macro

See TXT2CMT, which converts selected text to Comments, which might be useful if you want to create additional Comments before converting or listing them.

Known limitations

  • Option 1 on the menu causes the macro to copy the (often large) contents of each comment to a separate document. There have been reports (in past years, but none recently!) that using so-called "clipboard extenders" -- small Windows programs that store recently used material cut or copied to the Windows clipboard -- can cause problems, especially with documents that have many comments in them.
    • For example, the computer may slow or freeze when this macro is played with these clipboard extenders in memory. If this happens, simply disable or temporarily remove the clipboard extender when you need to play the macro.
    • Also, if your physical memory is full and the Windows swap file is being used constantly, the macro will slow down considerably and may even appear to freeze. (Wait to see if it will resume play.) Rebooting and clearing RAM of other tasks can help.

  • With some earlier versions of WordPerfect (e.g., WPX4), the macro will not convert more than 130 comments on a Windows 7 system. This seems to be a limit (bug?) in the program, since WPX5 ( and WPX6 ( will work to convert many more comments (e.g., 1500 in one series of tests). But then, only WPX5 (fully patched) and WPX6 or later are certified by Corel to work with Windows 7.
    • Here's a small macro that will open a new blank document and create as many "test" comments -- one per line -- as specified in the  vTotalComments command (here, 50). You can use it to test the operation of Comment Converter.

      [To copy this code into your WordPerfect program to create a working macro, see here.]

      // Macro begins
      Prompt("";"Creating comment "+vCount+" of "+vTotalComments)
      Type("This is comment number "+vCount)
      // Macro ends

  • Because of a limitation in a macro command (Close), any comments that you may have created inside "substructures" such as text boxes, headers, footers, footnotes, endnotes, etc., will NOT be processed (i.e., copied or converted). In any case, certain operations would not be possible anyway, such as converting a comment already inside a footnote to a new footnote! Thus, the macro processes Comments in the body text area only.