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.
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.
There are no replies made for this post yet.