Solved

Create custom date field code --- military format

Posted on 2004-04-05
4
481 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 37

Accepted Solution

by:
Joanne M. Orzech earned 125 total points
ID: 10758727
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
ID: 10758807
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
ID: 10759001
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
ID: 10759110
I would keep it at DATE alikat.  Thanks for the points and grade!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When creating Microsoft Word-based forms there may be a need to have a form field repeated throughout the whole document. For instance, with a company name, you may want this information repeated automatically throughout the document rather than man…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.

739 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