Bookmark name changes of a form field name

C

Cürd

I'm currently converting our old templates to .docm, Word 2007 templates.
The old VBA code works in Word 2007 but the only problem I have is that Word
doesn't find a particular bookmark name.

I've created a new Word 2007, .docx, document and used the Insert Form Field
command. I clicked on the button Options and I see back the old looking form
with title: Text Form Field Options. In the section Field Settings you have a
field: Bookmark.
If I give this field a name and save the document and I re-check before
closing it than new bookmark name remains.
But from the moment I close the document and re-open it the bookmark name is
again Text1!

It is a very strange behaviour because if you use the "insert bookmark"
command
than you see the correct bookmark names in the bookmark collection!
And this gives me problems when I want to set the bookmark field with a value.

Anyone a idea?
thanks,
KB
 
C

Cindy M.

Hi =?Utf-8?B?Q8O8cmQ=?=,

Using the Technical Refresh (B2TR) released last week, I can't duplicate the
problem. I insert a text box form field, give it a name, save, close. When I
open it again, the name I gave it is still there.
I'm currently converting our old templates to .docm, Word 2007 templates.
The old VBA code works in Word 2007 but the only problem I have is that Word
doesn't find a particular bookmark name.

I've created a new Word 2007, .docx, document and used the Insert Form Field
command. I clicked on the button Options and I see back the old looking form
with title: Text Form Field Options. In the section Field Settings you have a
field: Bookmark.
If I give this field a name and save the document and I re-check before
closing it than new bookmark name remains.
But from the moment I close the document and re-open it the bookmark name is
again Text1!

It is a very strange behaviour because if you use the "insert bookmark"
command
than you see the correct bookmark names in the bookmark collection!
And this gives me problems when I want to set the bookmark field with a value.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
J

Jay Freedman

I confirm the same -- it shows the expected behavior.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top