J
Joanne
I have several bookmarks on my docs, which I need to set to 'nothing'
after the job is finished printing.
I have tried
If oDocName.Bookmarks.Exists("FName") = True Then
.oDocName.Bookmarks.FName.Range.Text = ""
End If
If oDocName.Bookmarks.Exists("Midinit") = True Then
.oDocName.Bookmarks.Midinit.Range.Text = ""
End If
But it does not delete the bookmark values
I have also tried this code in my routine - it was supplied by someone
on these newsgroups, but it also does not do the job
For Each bkm In oDocName.Bookmarks
bkm.Range.Text = ""
Next
Can anyone give me a clue what is wrong here?
Thank you
Joanne
after the job is finished printing.
I have tried
If oDocName.Bookmarks.Exists("FName") = True Then
.oDocName.Bookmarks.FName.Range.Text = ""
End If
If oDocName.Bookmarks.Exists("Midinit") = True Then
.oDocName.Bookmarks.Midinit.Range.Text = ""
End If
But it does not delete the bookmark values
I have also tried this code in my routine - it was supplied by someone
on these newsgroups, but it also does not do the job
For Each bkm In oDocName.Bookmarks
bkm.Range.Text = ""
Next
Can anyone give me a clue what is wrong here?
Thank you
Joanne