[AccessD] Access 2 Word Bookmarks

Bryan Carbonnell carbonnb at gmail.com
Sat Jun 24 08:55:11 CDT 2006


On 6/23/06, Bob Heygood <bheygood at abestsystems.com> wrote:

> Do I have to live with Access VBA wiping out my Word bookmarks as I typetext
> in them via code?

No. If you do it like this:

    doc.Bookmarks("OrderDate").Select
    objWord.Selection.TypeText Format(rstOrder.Fields("OrderDate"),
"mmmm d, yyyy")

Your bookmarks won't get wiped out.

-- 
Bryan Carbonnell - carbonnb at gmail.com
Life's journey is not to arrive at the grave safely in a well
preserved body, but rather to skid in sideways, totally worn out,
shouting "What a great ride!"



More information about the AccessD mailing list