Microsoft KB Archive/38338

From BetaArchive Wiki

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

SUMMARY

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:

  1. From the File menu, choose New.
  2. Click the “A” in the upper-left corner of the window to bring up the main AutoMac dialog box. Click Record.
  3. Type a key combination and a name for your macro (such as “date-now-medium”). Click Record.
  4. Press RETURN (on the main keyboard) once.
  5. From the Edit menu, choose Glossary.
  6. Press the DOWN ARROW key the number of times necessary to select the “date-now-long” entry. Press RETURN to insert it.
  7. Press COMMAND+OPTION+’ (apostrophe). The word “More” should appear in the lower-left corner of the window.
  8. Type “K” (without quotation marks to move to the start of the line).
  9. Press the MINUS SIGN (-) key on the numeric keypad. The words “Extend to” should appear in the lower-left corner of the window.
  10. Press the SPACEBAR once to extend the selection to the first space in the line.
  11. Press BACKSPACE twice (once to delete the selection, and once more to delete the initial carriage return).
  12. 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.