Solved

Create custom date field code --- military format

Posted on 2004-04-05
4
478 Views
Last Modified: 2012-08-13
Hello,

I need to create (or download if already exists) a custom field code for MS Word

I am using the date field code, and the closest format is
DD-MMM-YY

What I want is
DD MMM YY (no hyphens)

Is there a way to do this?
I'm trying to avoid macros so I don't have to change security settings or both my clients with going thru enabling macros all the time.

Thanks
0
Comment
Question by:alikat538
  • 3
4 Comments
 
LVL 37

Accepted Solution

by:
Joanne M. Orzech earned 125 total points
Comment Utility
Insert, Field, Date.

Press Alt F9 to view field codes.

Make sure it looks like this:

{DATE \@ "DD MMM YY"\*MERGEFORMAT}

Press Alt F9 - select field code and press F9 to update.
0
 
LVL 37

Expert Comment

by:Joanne M. Orzech
Comment Utility
Also, if you want the date to automatically update every time you open the document, you could use this:

{TIME \@ "DD MMM YY"}

0
 
LVL 1

Author Comment

by:alikat538
Comment Utility
Perfect!  You get the points
(Well almost, I took off one of the D to get rid of the leading 0)

This is what it said before
{DATE \@ "d-MMM-yy"}

does the *MERGEFORMAT allow you to customize?

Also --- I dont think I want the date to change...ie if I print on the 4th and need to reprint on the 5th --- I want the same date.....

so should I just change the DATE to SAVEDATE?

Thanks,
Alikat
0
 
LVL 37

Expert Comment

by:Joanne M. Orzech
Comment Utility
I would keep it at DATE alikat.  Thanks for the points and grade!
0

Featured Post

A Knowledge Base That Stays Up-to-Date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now