I don't know if it will make any difference, but the opening quote mark in
front of the true result in each If...then...Else construction should not be
there.
That is
{ IF { MERGEFIELD ALERT } = GEN "{ INCLUDETEXT etc
should only be
{ IF { MERGEFIELD ALERT } = GEN { INCLUDETEXT etc
--
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
"Peter" wrote in message
...
Thanks again Ed.
Really appreciate all your advice!
I am using Ver 2000.
I have tried various things you have mentioned, but no luck. The code I
have
I initially set with information from Microsoft, combined with your
initial
suggestions. I have a link to a screen shot I took of the code I am using.
I
did try keying in the code as you showed Pearl but the documents would not
come up. The code in the link gives me the documents, just will not
supress
blank lines unless I merge to a new document.
http://img.photobucket.com/albums/v2...g?t=1177710767
Thanks again . . .
Peter