Article ID: 182169
Article Last Modified on 1/22/2007
Sub DoesFormFieldExist()
If ActiveDocument.Bookmarks.Exists("Text1") Then
MsgBox "The form field Text1 does exist."
Else
MsgBox "The form field Text1 does not exist."
End If
End Sub
For more information about the Exists method, click the Office Assistant
while in the Visual Basic Editor, type Exists method, click Search, and
then click to view "Exists method."
120802 Office: How to Add/Remove a Single Office Program or Component
163435 VBA: Programming Resources for Visual Basic for Applications
Additional query words: wordcon vb vba vbe
Keywords: kbdtacode kbhowto kbmacroexample KB182169