Results 1 to 2 of 2

Thread: Word basic

  1. #1

    Word basic

    I'm trying to move data out of access into a word document that i am opening and operating from access. I can open it fine, but when i try to insert information at the relevant bookmarks, which appear to be correctly set, it always inserts at the beginning of the document. The code I am using is:

    doc.editgoto "bookmark"
    doc.insert "whatever"

    im using office 97, does anyone have any ideas?

    TIA Anna

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Hollywood (sorta), California, USA
    Thanked 0 Times in 0 Posts

    Re: Word basic

    Why not "graduate" to VBA?

    <pre>With Activedocument
    If .Bookmarks.Exists("BookMark") Then
    'Insert commands here
    End If
    End With</pre>

    Kevin <IMG SRC= alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts