By SunnySchindler on Friday, 20 August 2021
Posted in Word
Replies 0
Likes 0
Views 3K
Votes 0
How to have conditional text based on Document Property Title ? Different text for empty Title or NOT-empty Title 

On Main body of Document,  ⒈ inserted QuickPart-DocmentProperty. ⒉ Define Bookmark DocPropTitle. ⒊Code as follows

[CODE]{IF { REF DocPropTitle } <>"" "DocPropertyTitle will be used for FileName instead of 1st Paragraph; if NOT Ok, clear Title To Get Correct File Name in Save-As-Dialog-Box” “Save As Dialog Box will show 1st Paragraph. Please Add Period after First Character of Dialog-Box" } /CODE]

If Statement is not recognizing Title content. It will flip to either output, if I change operator EQUAL to NOT-EQUAL.
View Full Post