Re: Mail Merge Fields
- From: "Peter Jamieson" <pjj@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 18 Mar 2006 21:44:46 -0000
I'd have another go at accessing Graham's site.
The problem in this case is almost certainly that the column contains only
numeric data (or possibly blank) in the first few rows of your *** (maybe
8 or 25 rows). When Word (2002/2003) get the data using the Jet OLEDB
provider (which is what it does by default) its decision about the data type
of each column partly depends on what it finds in the column,
My guess is that if you temporarily put the "offending" row at the top of
your data you may get a different result.
One way around this should be to revert to the old DDE connection method by
a. checking Word Tools|Options|General|"Confirm conversions at open"
b. disconnecting from the data source, then reconnecting to Excel and
selecting the DDE option when it's offered. If the workbook is multi-***,
make sure you open it, select the *** you want, then (probably) save and
close the workbook before trying to access it.
Peter Jamieson
"Steve Koenig" <SteveKoenig@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:24B20DCB-69AC-4C06-AA39-E107DBC81AE4@xxxxxxxxxxxxxxxx
Merging between Excel and Word and all of the merge fields are picked up
correctly in the resulting Word document except for the Street Number
field
when this field has a PO Box, eg PO Box 321. The result displayed is 0.
I just finished reviewing "Formatting Word fields with switches" on fellow
MVP Graham Mayor's website at
http://www.gmayor.com/formatting_word_fields.htm
This web site was helpful as I learned to toggle between field display and
the result with ALT + F9. The field display shows the field name Street
Number cottectly. I am unclear that if there were any switches associated
with this Field Code would they in fact be displayed when displaying the
Field Name?
Not to bore anyone with everything I tried, but I have tried everything I
could think to do and still can't get the result to display a PO Box
followed
by the number.
I tried formatting the column in Excel to text, no luck, then formatting
the
column in Excel to general, still no luck. I even tried to just enter PO
Box
as the "street number" and the actual number as the "Street Name", but
again
the result for the Field "Street Number" results as 0.
I tried to delete all PO Box entries in Excel and format the column then
re-enter the data, still no luck.
Its just this one Field that isn't working. All of the other fields yield
the intentioned information.
I can't imagine what is going on here.
Can anyone help me with this?
Steve Koenig
.
- Follow-Ups:
- Re: Mail Merge Fields
- From: Steve Koenig
- Re: Mail Merge Fields
- Prev by Date: Re: Mail Merge Fields
- Next by Date: Re: Mail Merge Fields
- Previous by thread: Re: Mail Merge Fields
- Next by thread: Re: Mail Merge Fields
- Index(es):