Mail merge into a table problem

J

JenC

Hi,

I was wondering if someone could help me.

I have written a dll in VB6 which performs mail merge into
a word document. When the mergefied is in a table I get
the following result:

mergefield name: <<TestField>>
text to be inserted: Testing
after mailmerge: Testingd>>
what it should be: Testing

This only happens when I try and mailmerge within a table
otherwise it is fine.

Has anyone got any ideas/suggestions?

Thanks in advance for your help.

Regards,
Jen
..
 
W

Word Heretic

G'day "JenC" <[email protected]>,

have you tried pre-padding the right of the cell (ie insert after the
field) with a zero-width space or something?

JenC said:
Hi,

I was wondering if someone could help me.

I have written a dll in VB6 which performs mail merge into
a word document. When the mergefied is in a table I get
the following result:

mergefield name: <<TestField>>
text to be inserted: Testing
after mailmerge: Testingd>>
what it should be: Testing

This only happens when I try and mailmerge within a table
otherwise it is fine.

Has anyone got any ideas/suggestions?

Thanks in advance for your help.

Regards,
Jen
.

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
Email (e-mail address removed)
Products http://www.geocities.com/word_heretic/products.html

Replies offlist may require payment.
 
C

Cindy Meister -WordMVP-

Hi JenC,

Whenever I've seen anything like this, it turned out to be a
damaged binary structure in the document.

If you select the table, then do Table/Convert to text. And
then immediately do Table/Convert to Table does the problem
go away?
I was wondering if someone could help me.

I have written a dll in VB6 which performs mail merge into
a word document. When the mergefied is in a table I get
the following result:

mergefield name: <<TestField>>
text to be inserted: Testing
after mailmerge: Testingd>>
what it should be: Testing

This only happens when I try and mailmerge within a table
otherwise it is fine.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 
J

JenC

Hi Cindy,

I have tried this and it stills remains the same. If you
have any other ideas it would be appreciated.

Thanks for your help.

Cheers,
Jen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top