Note: The other languages of the website are Google-translated. Back to English
Support is Offline
Today is our off day. We are taking some rest and will come back stronger tomorrow
Official support hours
Monday To Friday
From 09:00 To 17:30
  Friday, 20 August 2021
  0 Replies
  1.8K Visits
0
Votes
Undo
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.
There are no replies made for this post yet.

Follow Us

Copyright © 2009 - www.extendoffice.com. | All rights reserved. Powered by ExtendOffice. | Sitemap
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Protected by Sectigo SSL