Bookmarks (in FOOTER of WORD doc) not filled from within ACCESS

M

MarcVdb

When filling bookmarks that are specified in the FOOTER of a WORD doc,
they are not filled ! on of they are located in the body.
Is this a bug in WORD ?
Or is my code wrong ?
How to solve this issue ?
thanks for your help.

Set oApp = CreateObject("Word.Application")
oApp.Documents.Open strInputFile

With oApp.Selection
.GoTo Name:="OpdrAnoOmschr"
.Typetext Text:=Rsa("OpdrAnoOmsch")

.GoTo Name:="OpdrMainRefNum"
.Typetext Text:=Rsa("OpdrMainRefNum")
End With

oApp.Visible = True

greetings
Marc.
 

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