Hello,
I'm trying to find out if something is even possible in MS Word, but I have looked everywhere on the Internet, and nothing. I'm trying to see if a date range (from start to finish) is more than a year (365 days), and if it is, do Scenario One, otherwise do nothing.
As in:
{if {MERGEFIELD End_Date \@"YYYYMMDD"} - {MERGEFIELD Start_Date \"@YYYYMMDD"} > 365 "More than one year" ""}
I keep getting this message when I run the mail merge: "Error! Unknown op code for conditional"
What am I doing wrong? Can Word Merge not do arithmetic calculations and compare the result?
Thank you for your assistance.
I'm trying to find out if something is even possible in MS Word, but I have looked everywhere on the Internet, and nothing. I'm trying to see if a date range (from start to finish) is more than a year (365 days), and if it is, do Scenario One, otherwise do nothing.
As in:
{if {MERGEFIELD End_Date \@"YYYYMMDD"} - {MERGEFIELD Start_Date \"@YYYYMMDD"} > 365 "More than one year" ""}
I keep getting this message when I run the mail merge: "Error! Unknown op code for conditional"
What am I doing wrong? Can Word Merge not do arithmetic calculations and compare the result?
Thank you for your assistance.