G
Geoff332
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:
<delete existing bookmark text>
If (condition) Then
<add field1 to bookmark>
<add text to bookmark>
<add field2 to bookmark>
Else
<add field3 to bookmark>
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.
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:
<delete existing bookmark text>
If (condition) Then
<add field1 to bookmark>
<add text to bookmark>
<add field2 to bookmark>
Else
<add field3 to bookmark>
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.