WinWord: Field to Insert Previous Month Based on Current Date

ID: Q80507


The information in this article applies to:
  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, version 7.0


SUMMARY

To insert the previous month's date in a Microsoft Word for Windows document, use the following field:


   {QUOTE {IF {DATE \@ M} = 1 12 {={DATE \@ M} - 1}}/1/92 \@ MMMM} 


REFERENCES

"Microsoft Word for Windows User's Guide," version 2.0, pages 646, 752-753, 759-762

"Microsoft Word for Windows User's Reference," version 1.x, pages 85, 89-91, 94, 97-98, 105, 117-119

Additional query words: 6.0 6.0a 6.0c 1.0 1.1 1.1a 2.0 1.x 1.0 winword 7.0 word95 word6 winword 1.10 winword2 1.10a last word7

Keywords : kbusage kbfield
Version : WINDOWS:1.0,1.1,1.1a,2.0,2.0a,2.0a-CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0
Platform : WINDOWS
Issue type :


Last Reviewed: December 23, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.