Microsoft KB Archive/38338
Excluding the Weekday from the Date-Long Glossary Entry
PSS ID Number: Q38338 Article last modified on 03-07-1997
====================================================================== 4.00 MACINTOSH kbusage
|The information in this article applies to:|
|- Microsoft Word for the Macintosh version 4.0|
In Microsoft Word for the Macintosh version 4.0, there is no standard date format, such as, “November 15, 1988” there is only a format with the day of the week, such as, “Tuesday, November 15, 1988”. This has been changed in Word versions 5.0 and later. To insert the date, in Word versions 5.0 and later (without day), choose Date from the Insert menu.
In Word version 4.0, the following method can be used to modify the date entry:
An AutoMac macro can be created that will insert the “date-now-long” glossary entry and modify it to exclude the weekday entry (for example, “November 15, 1988” instead of “Tuesday, November 15, 1988”).
To create an AutoMac macro that inserts this date format, make sure AutoMac III is properly installed, then follow these steps:
- From the File menu, choose New.
- Click the “A” in the upper-left corner of the window to bring up the main AutoMac dialog box. Click Record.
- Type a key combination and a name for your macro (such as “date-now-medium”). Click Record.
- Press RETURN (on the main keyboard) once.
- From the Edit menu, choose Glossary.
- Press the DOWN ARROW key the number of times necessary to select the “date-now-long” entry. Press RETURN to insert it.
- Press COMMAND+OPTION+’ (apostrophe). The word “More” should appear in the lower-left corner of the window.
- Type “K” (without quotation marks to move to the start of the line).
- Press the MINUS SIGN (-) key on the numeric keypad. The words “Extend to” should appear in the lower-left corner of the window.
- Press the SPACEBAR once to extend the selection to the first space in the line.
- Press BACKSPACE twice (once to delete the selection, and once more to delete the initial carriage return).
- Click the “A” in the upper-left corner of the window to bring up the end of the recording AutoMac dialog box. Click Stop.
To insert this format of the date, position the insertion point where the date is to appear, then press the key combination that was assigned to the macro in Step 3 above.
KBCategory: kbusage KBSubCategory: Additional reference words: 4.00 5.00 macword macword5 ====================================================================== ============================================================================= Copyright Microsoft Corporation 1997.