How do I trim input fields in Word 97 mail merge

B

Brett1958

The input file for my mail merge is a CSV file from an ERP system, and each
field in the CSV is padded with trailing blanks to the ERP system field size.
Is it possible to automatically trim trailing blanks during mail merge?
 
D

Doug Robbins - Word MVP

No.

Maybe the best thing to do is to open the CSV file in Excel and use the
Trim() function in a formula on another sheet to create a replica of the
information without the padding and then use that sheet as the data source.

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

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