Reply
 
Thread Tools Display Modes
  #1   Report Post  
Patrick Heilman
 
Posts: n/a
Default stripping commas from merge data

Does anyone know a way to manipulate the results of a mergefield? I need to
strip the commas out of the value of a merge field.

The merge data is coming from an application that dynamically creates a temp
Word document containing comma delimited values for the word merge. Those
values that have spaces or commas are enclosed in quotes. It then
programatically opens the merge template and executes the merge against the
merge data into a document where the mergefields have been made static.
I can't change the data in the source and since the temp file has a
different name each time I can't program that in the word template.
Is there any string manipulation that I can do before the merge finishes or
in the mergefield code?

TIA,
Patrick


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can I merge two sets of address data in Word Mail merge kenben Mailmerge 1 December 4th 04 04:01 PM
Mail merge error occurs when filtering Excel data source Dave Mailmerge 1 December 2nd 04 10:46 PM
merge data in a header or text box does not save JPCT Mailmerge 2 December 1st 04 03:45 PM
Word 2002 Merge Data Font Variation Cindy M -WordMVP- Mailmerge 0 December 1st 04 02:30 PM
Merge Data Source path Peter Jamieson Mailmerge 0 November 25th 04 07:15 PM


All times are GMT +1. The time now is 07:02 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"