I am attempting to create a small app that will push data from an entry form into bookmarks in a word doc. However, when a field is left blank, and therefore a bookmark is left blank, I would like to have the line that the bookmark is in be removed if there is no other text in the line.
So, if the page looked like this:
If [Bookmark] is blank and since there is no other text in that line, I want it to appear like this:
Right now, if the bookmark is left blank it appears with a blank row like this:
Is it possible to identify the row that the bookmark is in and determine that no text exists in the row and then delete that row?