Hi Francois,
yourself.
No. Using Word2000, insert a text formfield, name it TextField1. Then use
menu/insert/bookmark to remove the bookmark. It remains a formfield with the
given name and no bookmark.
OK, sure, get rid of the manually. But I never would...
When working with both bookmarks and formfields, user like to have bookmark
shown and formfield not displayed with the bookmark brackets, without
counting the fact that formfields with bookmarks could make the bookmark
list annoyingly long for the user interested by the [true] bookmarks.
I'm not sure I follow all your thinking... For one thing, why would a user
working in a form care about any bookmarks? They really can't be used in a
protected form?
In any case, to get back to your original question (as we run the danger of a
circular discussion, or one that digresses):
"I have a Word document with a lot of form fields.
From a macro triggered by a keystroke, I would like to know the name of the
form field having the focus."
Leave the bookmarks with the form fields. Just rename them (field and
bookmark) to begin with an underscore, so that they're "hidden". You have to
realize that forms were designed to work with the bookmarks in place, so
you're going to run into problems if you remove them.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail