M
Mads W.
Im running Microsoft Business Solutions C5 (C5), which is an ERP system from
Denmark.
C5 has a function that can merge to Word. I use Word 2003.
When merging, C5 uses a template, where the merge fields are FORMTEXT fields
with a Bookmark.
I have tried using IF, THEN, ELSE MERGEFIELDS. But it seems that I can't do
that because of the way the merge function is set up in C5.
I can however use the bookmarks without the FORMTEXT field. But that doesn't
help me in any way.
My problem is, that I would like to delete the empty line if one of the
MERGE fields is empty. Now I get nasty spaces in the address section, if any
of my MERGE fields are empty.
Is there a way to use the IF THEN ELSE way, with this kind of merging? Or
could I run a macro after the merge is done, that will check all my
bookmarks and delete empty lines?
Best regards
Mads
Denmark.
C5 has a function that can merge to Word. I use Word 2003.
When merging, C5 uses a template, where the merge fields are FORMTEXT fields
with a Bookmark.
I have tried using IF, THEN, ELSE MERGEFIELDS. But it seems that I can't do
that because of the way the merge function is set up in C5.
I can however use the bookmarks without the FORMTEXT field. But that doesn't
help me in any way.
My problem is, that I would like to delete the empty line if one of the
MERGE fields is empty. Now I get nasty spaces in the address section, if any
of my MERGE fields are empty.
Is there a way to use the IF THEN ELSE way, with this kind of merging? Or
could I run a macro after the merge is done, that will check all my
bookmarks and delete empty lines?
Best regards
Mads