Excel data source to Word mail merge

snipescc

Board Regular
Joined
Aug 29, 2010
Messages
136
Office Version
  1. 365
Platform
  1. Windows
I am trying to use Excel 2010 as a data source for a Word 2010 mail merge. I am pulling several text fields and date fields. One of the text fields (a city name) always comes out as 12:00:00 AM. One of the text fields always shows as 0. Other text fields work correctly. The fields in Excel are formatted as General or text, I have tried both. The two date fields are pulled with { MERGEFIELD "Start_Date" \@ "MMMM d, yyyy"} but show up as the date number line 41518.
I very much appreciate your help.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
I am trying to use Excel 2010 as a data source for a Word 2010 mail merge. I am pulling several text fields and date fields. One of the text fields (a city name) always comes out as 12:00:00 AM. One of the text fields always shows as 0. Other text fields work correctly. The fields in Excel are formatted as General or text, I have tried both. The two date fields are pulled with { MERGEFIELD "Start_Date" \@ "MMMM d, yyyy"} but show up as the date number line 41518.
I very much appreciate your help.

I found the problem. The first line of the Excel data was headings, the second line had some summary counts in come fields, formatted as numbers. The mail merge looked at this line to determine the data type for the column and so it was supplying the wrong data type in meta data to Word. When I made this line the correct data type, word picked up the data correctly. I will definde a named range of just the real data and got the correct formats.
 
Upvote 0

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

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
Back
Top