#1   Report Post  
Posted to microsoft.public.word.docmanagement
Candace Candace is offline
external usenet poster
 
Posts: 21
Default Word field codes

1. I need a field code that only gives me the actual date. For instance,
instead of "August 3, 2009," I need a field code to that will give me "3rd".

2. Also, I need a field code that will give me the month and the year,
without punctuation. So instead of "August 3, 2009," I need a field code that
will give me "August 2009."
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Word field codes

See http://sbarnhill.mvps.org/WordFAQs/DateFields.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Candace" wrote in message
news
1. I need a field code that only gives me the actual date. For instance,
instead of "August 3, 2009," I need a field code to that will give me
"3rd".

2. Also, I need a field code that will give me the month and the year,
without punctuation. So instead of "August 3, 2009," I need a field code
that
will give me "August 2009."


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Word field codes

See http://sbarnhill.mvps.org/WordFAQs/DateFields.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Candace" wrote in message
news
1. I need a field code that only gives me the actual date. For instance,
instead of "August 3, 2009," I need a field code to that will give me
"3rd".

2. Also, I need a field code that will give me the month and the year,
without punctuation. So instead of "August 3, 2009," I need a field code
that
will give me "August 2009."


  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Yves Dhondt Yves Dhondt is offline
external usenet poster
 
Posts: 767
Default Word field codes

1. Use a date field with the following format switch \@ "d" \*ordinal

2. Use a date field with the following format switch \@ "MMMM yyyy"

Yves

"Candace" wrote in message
news
1. I need a field code that only gives me the actual date. For instance,
instead of "August 3, 2009," I need a field code to that will give me
"3rd".

2. Also, I need a field code that will give me the month and the year,
without punctuation. So instead of "August 3, 2009," I need a field code
that
will give me "August 2009."


  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Yves Dhondt Yves Dhondt is offline
external usenet poster
 
Posts: 767
Default Word field codes

1. Use a date field with the following format switch \@ "d" \*ordinal

2. Use a date field with the following format switch \@ "MMMM yyyy"

Yves

"Candace" wrote in message
news
1. I need a field code that only gives me the actual date. For instance,
instead of "August 3, 2009," I need a field code to that will give me
"3rd".

2. Also, I need a field code that will give me the month and the year,
without punctuation. So instead of "August 3, 2009," I need a field code
that
will give me "August 2009."




  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Word field codes

Try

1. { DATE \@D \*ordinal }

2. { DATE \@"MMMM YYYY" }

Peter Jamieson

http://tips.pjmsn.me.uk

On 11/01/2010 18:00, Candace wrote:
1. I need a field code that only gives me the actual date. For instance,
instead of "August 3, 2009," I need a field code to that will give me "3rd".

2. Also, I need a field code that will give me the month and the year,
without punctuation. So instead of "August 3, 2009," I need a field code that
will give me "August 2009."

  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Word field codes

Try

1. { DATE \@D \*ordinal }

2. { DATE \@"MMMM YYYY" }

Peter Jamieson

http://tips.pjmsn.me.uk

On 11/01/2010 18:00, Candace wrote:
1. I need a field code that only gives me the actual date. For instance,
instead of "August 3, 2009," I need a field code to that will give me "3rd".

2. Also, I need a field code that will give me the month and the year,
without punctuation. So instead of "August 3, 2009," I need a field code that
will give me "August 2009."

  #8   Report Post  
Posted to microsoft.public.word.docmanagement
Pesach Shelniitz Pesach Shelniitz is offline
external usenet poster
 
Posts: 7
Default Word field codes

Hi,

The following field code will show the current day of the month with the
ordinal suffix. For example, today it shows 11th.

{ DATE \@ "d" \* Ordinal }

The following field code will display the full name of the current month
followed by a space and the current year with no other punctuation. For
example, today it shows January 2010.

{ DATE \@ "MMMM YYYY" }

In both cases, type the field codes without the enclosing curly brackets
({}), select the code, and press Ctrl+F9. Then press F9.

You can learn about more variations of the fields related to dates and times
on my Web page at http://makeofficework.com/inserting_dates_and_times.htm .

Hope this helps,
Pesach Shelnitz

"Candace" ëúá
áäåãòä
1. I need a field code that only gives me the actual date. For instance,
instead of "August 3, 2009," I need a field code to that will give me
"3rd".

2. Also, I need a field code that will give me the month and the year,
without punctuation. So instead of "August 3, 2009," I need a field code
that
will give me "August 2009."



  #9   Report Post  
Posted to microsoft.public.word.docmanagement
Pesach Shelniitz Pesach Shelniitz is offline
external usenet poster
 
Posts: 7
Default Word field codes

Hi,

The following field code will show the current day of the month with the
ordinal suffix. For example, today it shows 11th.

{ DATE \@ "d" \* Ordinal }

The following field code will display the full name of the current month
followed by a space and the current year with no other punctuation. For
example, today it shows January 2010.

{ DATE \@ "MMMM YYYY" }

In both cases, type the field codes without the enclosing curly brackets
({}), select the code, and press Ctrl+F9. Then press F9.

You can learn about more variations of the fields related to dates and times
on my Web page at http://makeofficework.com/inserting_dates_and_times.htm .

Hope this helps,
Pesach Shelnitz

"Candace" ëúá
áäåãòä
1. I need a field code that only gives me the actual date. For instance,
instead of "August 3, 2009," I need a field code to that will give me
"3rd".

2. Also, I need a field code that will give me the month and the year,
without punctuation. So instead of "August 3, 2009," I need a field code
that
will give me "August 2009."



  #10   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Word field codes

Hi Candace,

To see how to do this (including superscripting the ordinals) and just about everything else you might want to do with dates in
Word, check out my Word Date Calculation Tutorial, at:
http://lounge.windowssecrets.com/ind...owtopic=249902
or
http://www.gmayor.com/downloads.htm#Third_party
Do read the document's introductory material.

--
Cheers
macropod
[Microsoft MVP - Word]


"Candace" wrote in message news
1. I need a field code that only gives me the actual date. For instance,
instead of "August 3, 2009," I need a field code to that will give me "3rd".

2. Also, I need a field code that will give me the month and the year,
without punctuation. So instead of "August 3, 2009," I need a field code that
will give me "August 2009."




  #11   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Word field codes

Hi Candace,

To see how to do this (including superscripting the ordinals) and just about everything else you might want to do with dates in
Word, check out my Word Date Calculation Tutorial, at:
http://lounge.windowssecrets.com/ind...owtopic=249902
or
http://www.gmayor.com/downloads.htm#Third_party
Do read the document's introductory material.

--
Cheers
macropod
[Microsoft MVP - Word]


"Candace" wrote in message news
1. I need a field code that only gives me the actual date. For instance,
instead of "August 3, 2009," I need a field code to that will give me "3rd".

2. Also, I need a field code that will give me the month and the year,
without punctuation. So instead of "August 3, 2009," I need a field code that
will give me "August 2009."


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ignore merge field codes when field doesn't exist mcalex Mailmerge 2 October 29th 08 07:56 AM
Field codes: MergeField field RTF format problem Amdious Mailmerge 4 September 17th 07 02:38 PM
Field Codes in Word dennyone Microsoft Word Help 2 June 27th 07 06:49 AM
Saving word document with field results not field codes Cambdoc Microsoft Word Help 2 July 14th 06 10:51 AM
field codes in word sue Microsoft Word Help 1 September 2nd 05 06:33 PM


All times are GMT +1. The time now is 07:47 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"