Problem with Mail Merge formatting - stumped!

kidwispa

Active Member
Joined
Mar 7, 2011
Messages
330
Hi,

I have a mail merge set up to print address labels and product codes in order to send product samples out to customers.

Unfortunately there is a problem with one field - a field on the excel spreadsheet called SampleCode10 is showing as an 8 character code (our company's product code - usually in the format of 2 letters, 1 number, 1 letter and then 4 numbers) in the excel spreadsheet, but when this is pulling through into the word document it is always showing as 12:00:00AM. All of the other SampleCode fields are showing the correct answer except for this one and I'm completely stumped at how to fix this. I've pressed Alt + F9 but the field doesn't show any special formatting so apart from that don't really know what else to check.

Thanks in advance for any help!

Craig :)
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

mole999

Well-known Member
Joined
Oct 23, 2004
Messages
10,524
Office Version
  1. 2019
  2. 2016
  3. 2013
Platform
  1. Windows
if it looks right in excel then make word mailmerge pull it properly, not sure why it would format it as time if the correct field is selected in the merge instructions when your leaders as text
 

kidwispa

Active Member
Joined
Mar 7, 2011
Messages
330
if it looks right in excel then make word mailmerge pull it properly, not sure why it would format it as time if the correct field is selected in the merge instructions when your leaders as text


Thanks for your reply but can you elaborate on what you mean by pull it properly? I've deleted the instances of this field in Word and then put them back in using Insert Merge Field, but this line is still showing as a date???
 

mole999

Well-known Member
Joined
Oct 23, 2004
Messages
10,524
Office Version
  1. 2019
  2. 2016
  3. 2013
Platform
  1. Windows
word has mailmerge formatting tags, so you can manipulate dates etc, on the off chance there isn't two fields called the same and your getting the first one and not the second ?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,282
Messages
5,836,381
Members
430,425
Latest member
xlsee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top