Using Left, Mid, and other string stuff in Mail Merge Fields

S

Shay

I have a mail merge field «EndorsementTemplate» which gives a file name with
its extention. I however only want to display the text without the extention.
is there a way to use say Left function on the «EndorsementTemplate» field
eg. Left([EndorsementTemplate],Len([EndorsementTemplate])-4.3)
 
C

Cindy Meister

Unfortunately, no. Word provides no string manipulation functionality in its
field codes. You need to work with the strings before mail merge receives
them. Usually, this is best done in the data source file (unfortunately, you
don't mention what the data source is). Sometimes, it can be done by changing
the SQL used to pick up the data (if the data source program supports the
necessary functions).

-- Cindy
 

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