Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Mail Merge

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 12-20-2016, 11:51 AM
Ozzie2842 Ozzie2842 is offline Windows XP Office 2007
Novice
 
Join Date: Aug 2013
Posts: 1
Ozzie2842 is on a distinguished road
Default Field Code/Switch for Time not working


I have an Excel sheet with a start time field that is formatted as "HH:mm". I also have a Word document with information about a person's start time at an event. When I insert the merge code the field shows 0.8125. So it is not even in the normal hours/minutes/seconds format. When I toggle field codes I get { MERGEFIELD Start_Time }. I then enter a switch to the field code { MERGEFIELD Start_Time \@"HH:mm"} and then update field. I get the same result of 0.8125. Any ideas on how to get this to work for me? Thank you in advance for taking the time to look at this.
Reply With Quote
  #2  
Old 12-20-2016, 01:08 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 15,637
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Are there data other than times in the Excel column? If so, that is the most likely cause of the problem. For an explanation, see Mailmerge Data Format Problems in the Mailmerge Tips and Tricks thread at the top of this forum:
http://www.msofficeforums.com/mail-m...ps-tricks.html
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply
Please reply to this thread with any new information or opinions.

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to format a picture switch in a merge field to only include the numbers in the middle? becca Mail Merge 2 06-08-2016 01:15 PM
Add Time Code ossosso Word 14 01-07-2016 05:10 AM
a code to add altering time to cells tesoke Excel Programming 3 12-17-2015 12:31 PM
To me the code on the youtube tutorial looks the same as mine but a I get a run-time chrisd2000 Excel Programming 1 07-02-2014 11:23 AM
my Outlook Calendar didn't switch to Standard time... kali90 Outlook 0 03-12-2013 08:02 AM


All times are GMT -7. The time now is 10:25 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft