A family of Microsoft word processing software products for creating web, email, and print documents.
Thank you all for your help. Your suggestions were helpful, my problem is solved! : )
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am working in Word 2007 compatibility mode. I want the print date of a document to appear in the following format:
nth day of month year
The current code I have is { DATE @ "d" \*Ordinal } day of { DATE @ "MMMM yyyy"} which displays as 10th day of August 2013
I would like the th to appear in superscript and I would like the date to be the print date not the current date. What should the code be in order to do that?
I should note that this is going into a template and I want merged documents based on this template to follow the same rule.
Thanks.
A family of Microsoft word processing software products for creating web, email, and print documents.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Thank you all for your help. Your suggestions were helpful, my problem is solved! : )
Charles,
While many of Paul Edstein's field constructions are a bit masochistic, he does have a method of doing it without the use of VBA. Graham Mayor shows the field construction in the See the Date Fields with Ordinals section of the following page of his website:
The only way to get the superscript will be using vba. This is not built into Word. See Using Date Fields in Microsoft Word for more on field switches for date fields.
When I want to avoid macros, I use the ORDTEXT switch which would give tenth instead of 10th.
Getting the superscript on the ordinal, is possible, with a bit of work. See the Date Fields with Ordinals section of the following page of fellow MVP Graham Mayor's website:
http://www.gmayor.com/formatting_word_fields.htm
To make it the print date, replace the DATE with PRINTDATE.