Adding Bookmarks Manually

  • Thread starter Mehrdad Reshadi
  • Start date
M

Mehrdad Reshadi

Hi,
I am useing MSOffice 2003 on WinXP. In Word, when I
use "Insert/Field" menu, select SET from "Field Names",
press "Field Codes" botton and type for example "SET t
1", then in the document when I use {t} in a field, it
shows 1, which is correct.

Now, if instead of the above procedure, I press Ctrl+F9
(to insert {} for the field) and then type exactly the
same code as above, i.e. "SET t 1", then when I use {t}
field in the document it gives me this error: "Error!
Bookmark not defined."

Am I doing anything wrong? Should I always go
to "Inser/Field" menu to add the simplest thing? It seems
it only does not work for SET.

Is this a bug?

thanks,
--mehrdad.
 
D

Doug Robbins - Word MVP

If you go to the Tools menu and select Options and then go to the View tab
and check box next to the Bookmarks item, then you will see that the
bookmark with the name of t appears where you inserted the field by way of
the Insert>Field dialog.

If you toggle on the field codes, you will see that the bookmark is inside
the closing field delimiter }. I am not quite sure what it is about the
bookmark that is inserted as the field is inserted by that dialog, because
even if I do insert a bookmark into the corresponding position in a field
constructed via Ctrl+F9, I cannot make use of { t } in another field.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
M

macropod

Hi Mehrdad,

Make sure you're coding the field as {SET t 1}, not {SET t1} or {"SET t 1"}.

Cheers
 

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