I'm trying to automatically generate Word documents. The necessary data is entering Word through custom document properties, coming from a third party program. Now I'd need to use conditionals on that data (e.g. if property X contains value Y, print string Z here, else string A).
I've been trying to do that using the conditional features of the mail merge feature[1], but I can't get it to work. Is there anyone who has succeeded here? VBA is unfortunately impossible due to constraints of the environment.
[1]: using Word's "magic braces" ``` { IF { DOCPROPERTY Myname } = "val" "output value if true" "output value if false" }
F9
(Fn
+F9
on many computers)?