Group: microsoft.public.word.vba.general
From: =?Utf-8?B?R2VvZmYzMzI=?=
Date: Monday, February 25, 2008 7:24 PM
Subject: Insert Fields to Bookmark

Hi,

I have a document where I want to enter particular fields and text,
depending on a condition. When completed, the bookmark should refer to the
inserted text. The fields and bookmarks are already defined in the document.
It's important that the fields be inserted in the bookmark, rather than just
the value.

The code should look something like:


If (condition) Then



Else

End If

The cleanest way to do it would be to build the appropriate insert string
then replace the bookmark. I can do this easily with text, but not with
fields.

Any suggestions would be much appreciated.

Thanks,
Geoff.

Safety Articles | Usenet Groups | Usenet News | Bluegrass