"Ads by Goooooogle" links provided by Google.com, which has sole control over all advertising content it displays on this site.

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

Barry MacDonnell's
Toolbox for WordPerfect

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

Page updated Oct 19, 2006
"Date Inserter" - View a scrollable calendar and quickly insert any selected date into your document in various formats (including "legal-style" dates)

Download DateIns.zip (v1.02; 10/19/06; 8,169 bytes)

Compatible with WordPerfect 8 and later versions

Downloading, Documentation, Modifications, and Support

Play this macro and it displays a menu dialog with a date field that lets you pick a date from a calendar (or type in a desired date), and then insert that date at the current cursor location in several different formats.

Note that the inserted date is a "static" date -- it will not automatically change to the current date if the document is opened at a later time.

EXAMPLES

Suppose you select the last day in May in 2004 from the menu's calendar field, or type that date into the calendar field, then push an adjacent button on the menu, you can insert that date into the document in one of these formats:

May 31, 2004

Monday, May 31, 2004

the 31st day of May, 2004

5/31/2004

Click the Cancel button on the menu if you just want to use the calendar to check a date.

Dates in this macro follow the (American) Month-Day-Year format. To change date formats (e.g., to use international/military format) that are inserted by the pushbuttons on the main menu, see the top section of the macro code for instructions. (Macros can be opened and edited like any other WordPerfect document. Click on Save & Compile when done making changes.)

If the macro fails to run properly, see the instructions at the top of the code for possible solutions.