View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Some data Merging as Zero, not the text in the data

The issue here is that when Word connects to an Excel data source, a
determination is made of the type of data that is in each of the fields by
the content of the first n records (n maybe 8, but not sure about that)

The problem that you are experiencing can be overcome by ensuring that the
first record in the datasource ( a dummy record if necessary) contains text
data
rather than numeric data.

You may also be able to overcome the issue by changing the way in which Word
connects to the datasource. That is done by checking the box for "Confirm
file format conversion on open" under Word OptionsAdvancedGeneral in Word
2007 or under ToolsOptionsGeneral in earlier versions. After you make
that change, when you attach the data source to the mail merge main
document, a dialog box will appear in which you can select the method by
which the attachment is made. Try the DDE option.

Another thing that should work is to specifically format the cells in that
column
in Excel as Text rather than having it formatted as General.

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

"MaxArk" wrote in message
...

I am merging data from an Excel database into a word document using the
mail merge feature.

I am merging a column of data with a header name of "unit$".
I have noticed that in most cases it merges data accurately, but with
some instances, where the datasource is text, like upper, east , west
etc, it will merge into the document as a 0 (zero).

When I look at the merge field in the merge document, it shows as
"unit", not "unit$". I cannot seem to place "unit$", as all my efforts
automatically revert to "unit"

Is this the cause of my inaccurately merged data? Are "$" not permitted
in merge fields?

Jenn




--
MaxArk