Results 1 to 7 of 7
  1. #1
    Star Lounger
    Join Date
    Apr 2002
    Location
    New York, New York, USA
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Date Field Codes (Word 97)

    Each month I send a letter with a check that covers expenses for next month. That is, in September I send a letter that contains the sentence, "Enclosed is my check for October expenses."

    I would like the month to be updated automatically. I know how to format Word's date field to display the month, but I don't know how to have it display next month. Is that possible?

  2. #2
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,054
    Thanks
    2
    Thanked 417 Times in 346 Posts

    Re: Date Field Codes (Word 97)

    Hi Mike,

    You mean like in the attached? I cobbled it together out of another date field I've used (also included in the file). so its got some extraneous stuff, but it does the job anyway. As you'll see, date manipulation via Word fields is rather convoluted, since there's no direct way of getting a number that corresponds to a given date.

    Cheers
    Attached Files Attached Files
    Cheers,

    Paul Edstein
    [MS MVP - Word]

  3. #3
    Star Lounger
    Join Date
    Apr 2002
    Location
    New York, New York, USA
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Date Field Codes (Word 97)

    Thanks for your help, but I must confess I don't understand your reference to the "Delay" parameter. Where do I set that?

  4. #4
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,054
    Thanks
    2
    Thanked 417 Times in 346 Posts

    Re: Date Field Codes (Word 97)

    Hi Mike,

    The 'Delay' parameter is in the field. If you expand/toggle the field code <Shift-F9>, you'll see it on the second line, as in:
    {SET Delay 1}

    Cheers
    Cheers,

    Paul Edstein
    [MS MVP - Word]

  5. #5
    Star Lounger
    Join Date
    Apr 2002
    Location
    New York, New York, USA
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Date Field Codes (Word 97)

    I'm sorry for being so dense, but when I toggle the field code I get
    {QUOTE
    LF
    LF
    LF
    {ReplyMonth @"MMMM"}}
    Where is {Set Delay 1}?

  6. #6
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,054
    Thanks
    2
    Thanked 417 Times in 346 Posts

    Re: Date Field Codes (Word 97)

    Hi Mike,

    You haven't completely expanded the field. You have to select the whole filed to get it to expand fully - I suspect you simply clicked somewhere in it. Alternatively, go into Tools|Options|View and check the 'field codes' box.

    Cheers
    Cheers,

    Paul Edstein
    [MS MVP - Word]

  7. #7
    Star Lounger
    Join Date
    Apr 2002
    Location
    New York, New York, USA
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Date Field Codes (Word 97)

    Wow! Now I see it - in all it's gruesome detail. Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •