View Single Post
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Joshua Pangborn
 
Posts: n/a
Default Using IF to find whether a Merge Field contains a substring

I am merging some letters, and I have a merge field that lists a number of
codes separate by new lines. I need to include another document if a
particular code is in the mergefield. I know that you can use IF MergeField =
"string", but that returns false. I have tried IF MergeField = "*string*",
but that also returns false. Is there another way to test if a merge field
contains a string? Thanks. I can provide more information if needed.
--
- Joshua Pangborn