(For more complete discussion of how to create and use Quick Parts, click here. If you don’t want to go through all the steps every time you want to embed that phrase in a document, select this phrase with your mouse, go back to Quick Parts, and choose Save Selection to Quick Part Gallery.
Now you have a phrase that will update automatically. Go back to Quick Parts | Field and, choosing the same date field you chose before, simply remove the day reference from the date and insert a comma between the month and the year: Once we type the phrase “day of” we can insert a self-updating month and year. Simply type “*ordinal” after the “d” as shown below: I have a document with a date on it that will be changed, and that has been made into a date picker, where you click the date and it opens a calendar. To do that, we need to insert what is known as a switch. WORD MACRO - Date picker in Word, have several instances where I would like to have 6 months added to whatever date is selected. Next, we need to click Field Codes in the lower left-hand corner to get to the point we can format the day of the month as an ordinal number. The reason it doesn’t matter which of the date formats we pick is that we’re simply going to isolate the day of the month: Once we’re in the Field dialog box, we need to pick one of the field names (here, I’ve chosen SaveDate) and click on one of the date formats (and it really doesn’t matter which one, for reasons that will become obvious later): To do this, we need to go over to the Insert tab, click on Quick Parts, and choose Field: When I say “ordinal,” what I mean is the day of the month expressed as an ordinal number, i.e., 1st, 15th, etc. We’ll get the hardest part of this out-of-the-way first: the ordinal date. It’s that last one, SaveDate, that I’ll use in this example, but you can use any date field for this trick. Now that I added some spaces before the control, it does work. For example, you can insert the date the document was created, the last date it was printed, or the date the document was last saved. However, in my testing I put the date picker control at the very beginning of a paragraph, which apparently was a mistake. A lot of Microsoft Word users don’t know, however, that you can insert other system-based dates as well. You may have already had some practice with inserting a self-updating current date in, say, a letter or other document. If you start drafting the document on the 15th but don’t actually file (or sign or whatever) until, say, the 21st or the 30th or, heaven forbid, sometime next month or year, you’re either going to have to leave blanks for the day, month and/or year while you’re drafting or remember to update all those dates when you finalize the document.īut what if you didn’t have to do either one? What if your document was smart enough to do its own updating, based on the date you saved it last? If your documents are anything like the ones I’ve worked on over the years, there’s at least one section (the “Respectfully submitted” or the Certificate of Service in pleadings or the notary acknowledgement, for example) that has this in it: