This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Make empty lines disappear

Hello all,

I am facing an issue during the creation of a word template. More specifically, I have put lots of properties (each one at a different line) in my template which may have a text value (created through VB script written on the property) according to the choices that were made at metadata card. Otherwise they remain empty. As a result, I would like not to have an empty line created, when these properties remain empty. I tried to write some code in my properties (I am using Microsoft Word 2016), for example:

{ IF "[Group Rates (Description)]" <> "Σφάλμα! Άγνωστο όνομα ιδιότητας εγγράφου" "[Group Rates (Description)]" "" }

but the problem remains. Do you have any idea in order to achieve the appropriate result?