Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Create custom date field code --- military format

Posted on 2004-04-05
4
Medium Priority
?
483 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 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

704 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