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  

Date-Time switch not working for merge field



 
 
Thread Tools Display Modes
  #1  
Old April 1st, 2010, 06:59 PM posted to microsoft.public.word.mailmerge.fields
LLChoi
external usenet poster
 
Posts: 2
Default Date-Time switch not working for merge field

I'm trying to get a list of times for a music competition merged, and as
such, the fields I am merging are sometimes coming from a directly entered
time (like the first one in each group) or a calculated formula (based on the
start time and length of performance of the entrant before). I am getting
the results I want if the time is directly entered, but not if it is the
result of a formula. The codes I'm using a

{ MERGEFIELD "Competition" \@ "h:mm am/pm" \* MERGEFORMAT }

which returns : 1/1/1900 8:34:30 AM instead of just: 8:34 AM

The formula in the Excel spreadsheet is simply:

=R2+O2+TIME(0,2,0)

where R2 is the previous entrant's start time, O2 is the total time of the
previoius entrant's program, then 2 minutes are added for judges to write
comments.

I think I'm doing it correctly, it seemed to work last year, but the
formatting is not happening this year. I just don't want to go through all
the entries to edit out the date and seconds for each time I want to list on
each merge file, and I've got 6 different merge documents that I'm trying to
create.


  #2  
Old April 1st, 2010, 10:24 PM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default Date-Time switch not working for merge field

Try changing the method of connection to the data source to DDE. To get the
option of doing that, you will need to check the box for Confirm Conversions
at Open either via ToolsOptionsGeneral in Word 2003 or before or via Word
OptionsAdvancedGeneral in Word 2007

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"LLChoi" wrote in message
...
I'm trying to get a list of times for a music competition merged, and as
such, the fields I am merging are sometimes coming from a directly entered
time (like the first one in each group) or a calculated formula (based on
the
start time and length of performance of the entrant before). I am getting
the results I want if the time is directly entered, but not if it is the
result of a formula. The codes I'm using a

{ MERGEFIELD "Competition" \@ "h:mm am/pm" \* MERGEFORMAT }

which returns : 1/1/1900 8:34:30 AM instead of just: 8:34 AM

The formula in the Excel spreadsheet is simply:

=R2+O2+TIME(0,2,0)

where R2 is the previous entrant's start time, O2 is the total time of the
previoius entrant's program, then 2 minutes are added for judges to write
comments.

I think I'm doing it correctly, it seemed to work last year, but the
formatting is not happening this year. I just don't want to go through
all
the entries to edit out the date and seconds for each time I want to list
on
each merge file, and I've got 6 different merge documents that I'm trying
to
create.


  #3  
Old April 1st, 2010, 10:46 PM posted to microsoft.public.word.mailmerge.fields
LLChoi
external usenet poster
 
Posts: 2
Default Date-Time switch not working for merge field

Yes, that did indeed do the trick. Thank you very much!

"Doug Robbins - Word MVP" wrote:

Try changing the method of connection to the data source to DDE. To get the
option of doing that, you will need to check the box for Confirm Conversions
at Open either via ToolsOptionsGeneral in Word 2003 or before or via Word
OptionsAdvancedGeneral in Word 2007

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"LLChoi" wrote in message
...
I'm trying to get a list of times for a music competition merged, and as
such, the fields I am merging are sometimes coming from a directly entered
time (like the first one in each group) or a calculated formula (based on
the
start time and length of performance of the entrant before). I am getting
the results I want if the time is directly entered, but not if it is the
result of a formula. The codes I'm using a

{ MERGEFIELD "Competition" \@ "h:mm am/pm" \* MERGEFORMAT }

which returns : 1/1/1900 8:34:30 AM instead of just: 8:34 AM

The formula in the Excel spreadsheet is simply:

=R2+O2+TIME(0,2,0)

where R2 is the previous entrant's start time, O2 is the total time of the
previoius entrant's program, then 2 minutes are added for judges to write
comments.

I think I'm doing it correctly, it seemed to work last year, but the
formatting is not happening this year. I just don't want to go through
all
the entries to edit out the date and seconds for each time I want to list
on
each merge file, and I've got 6 different merge documents that I'm trying
to
create.


 




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 11:40 AM.


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