View Single Post
  #1   Report Post  
Martin North Martin North is offline
Junior Member
 
Posts: 1
Default Blank lines in conditional mailmerge

Hi,

I am using syntax below for displaying address details. However, if both feilds are blank I can't remove the blank lines that Word includes. Can anyone advise? I've tried various things to no avail.

many thanks

Martin.


{ IF { MERGEFIELD AgentID }="" "{ MERGEFIELD "ApplicantName" }"
"{ MERGEFIELD "AgentName" } "}