In Access I create a MS Word file by copying it from a Template then I open it with a Hyperlink (Follow...). This works fine. Then I would like to update some bookmarks in the new MS Word Document but I don't know how to do it. I already tried something like
Dim appWord As Object
Set appWord = CreateObject("Word.Basic"
appWord.fileopen FileName ' Open your document, etc
appWord.ActiveDocument.Goto What:=wdGoToBookmark, Name:="Originator"
appWord.ActiveDocument.Insert "Thomas"
but I get an error on the wdGotoBookmark thing.
Does anybody know an easy way to write text to a specifc bookmark in a Word Document ??
Any answer is welcome and highly apreciated.
Please help. I've been trying for months now !! Please Please
Dim appWord As Object
Set appWord = CreateObject("Word.Basic"
appWord.fileopen FileName ' Open your document, etc
appWord.ActiveDocument.Goto What:=wdGoToBookmark, Name:="Originator"
appWord.ActiveDocument.Insert "Thomas"
but I get an error on the wdGotoBookmark thing.
Does anybody know an easy way to write text to a specifc bookmark in a Word Document ??
Any answer is welcome and highly apreciated.
Please help. I've been trying for months now !! Please Please