U
Ulf Nilsson
Hi,
How do I determine if a FormFields Text is empty? This does not work:
With ActiveDocument.Bookmarks("Text1").Select
If Selection.Text <> "" then
MsgBox "Not Empty"
Else
MsgBox "Empty"
End If
Background:
I fill the document with facts from a file (Text.ini) and want to hide
FormFields Text that are empty. I know how to hide FormFields Text but not to
determine if the FormFields Text is empty.
// Ulf
How do I determine if a FormFields Text is empty? This does not work:
With ActiveDocument.Bookmarks("Text1").Select
If Selection.Text <> "" then
MsgBox "Not Empty"
Else
MsgBox "Empty"
End If
Background:
I fill the document with facts from a file (Text.ini) and want to hide
FormFields Text that are empty. I know how to hide FormFields Text but not to
determine if the FormFields Text is empty.
// Ulf