T
Tom
I am using the code below to identify the current field the user has just
exited from on a protected form:
strFrmFieldName =
Word.ActiveDocument.FormFields.Item(Selection.BookmarkID).Name
This line works great and allows me use only one macro w/Select Case to do
everything I need to do.
My problem arises when I try the same line on a Check Box. The check box
has a bookmark name just like the fields. I can call the check box directly,
i.e.
strValue = activeDocument.FormFields("MyChkBox").CheckBox.Value
But I can't get the name of the Bookmark using the "Selection.BookMarkID".
Any help would be greatly appreciated.
Regards,
Tom C
exited from on a protected form:
strFrmFieldName =
Word.ActiveDocument.FormFields.Item(Selection.BookmarkID).Name
This line works great and allows me use only one macro w/Select Case to do
everything I need to do.
My problem arises when I try the same line on a Check Box. The check box
has a bookmark name just like the fields. I can call the check box directly,
i.e.
strValue = activeDocument.FormFields("MyChkBox").CheckBox.Value
But I can't get the name of the Bookmark using the "Selection.BookMarkID".
Any help would be greatly appreciated.
Regards,
Tom C