A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formatting Time



 
 
Thread Tools Display Modes
  #1  
Old April 30th, 2010, 02:14 PM posted to microsoft.public.word.mailmerge.fields
Debbie[_3_]
external usenet poster
 
Posts: 46
Default Formatting Time

I am working with a time field within a merge. My switch looks like
this:

{ « MERGEFIELD After_School_Hours» \@ "h:mm PM" }

Once merged, my data says 5:15 P4

Why is it putting P4 instead of PM?

Thanks for your help in advance.

Debbie
  #2  
Old April 30th, 2010, 02:57 PM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default Formatting Time

You need

{ MERGEFIELD After_School_Hours \@ "h:mm AM/PM" }

Without the AM/ part, Word substitutes the month number for the "M"
giving you "P4"

Peter Jamieson

http://tips.pjmsn.me.uk

On 30/04/2010 14:14, Debbie wrote:
I am working with a time field within a merge. My switch looks like
this:

{ « MERGEFIELD After_School_Hours» \@ "h:mm PM" }

Once merged, my data says 5:15 P4

Why is it putting P4 instead of PM?

Thanks for your help in advance.

Debbie

  #3  
Old April 30th, 2010, 04:21 PM posted to microsoft.public.word.mailmerge.fields
Debbie[_3_]
external usenet poster
 
Posts: 46
Default Formatting Time

On Apr 30, 9:57*am, Peter Jamieson
wrote:
You need

{ MERGEFIELD After_School_Hours *\@ "h:mm AM/PM" }

Without the AM/ part, Word substitutes the month number for the "M"
giving you "P4"

Peter Jamieson

http://tips.pjmsn.me.uk

On 30/04/2010 14:14, Debbie wrote:



I am working with a time field within a merge. My switch looks like
this:


{ « MERGEFIELD After_School_Hours» *\@ "h:mm PM" }


Once merged, my data says 5:15 P4


Why is it putting P4 instead of PM?


Thanks for your help in advance.


Debbie- Hide quoted text -


- Show quoted text -


Thank you for a fast reply. Works great!
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.