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

Page updated Sep 2, 2009

EMPTYPGS - Clean up empty pages

Download EMPTYPGS.ZIP (v1.04; 01/18/08; 7,371 bytes)

Compatible with WordPerfect 7 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

"Clean up" empty pages in a document. This macro finds empty pages in a document and supresses page numbering, headers, footers, and watermarks on those pages only.

It also optionally inserts a text message "[This page intentionally left blank.]," centered on the otherwise empty pages; the message can be changed by modifying the macro code. (Open the macro and see the comments at the top of the code.)

Note that the macro's code could be modified to perform other specific tasks on specific pages. Thus, the code is a simple example of how to construct a macro that goes through a document from beginning to end (using a "loop"), performing specific tasks along the way.