Referencing and Working with Specially Created Fields in Word

L

L.A. Lawyer

I am trying to create a VBA macro (using Access 2000 and Word 2000) which
will:

1. loop through all of the fields of the currently displayed record in
the Access Activeform and grab those that have values

2. Open Word

3. Open a pre-fab document with a number of named {Ref } fields which
have the same name as the Access fields and insert the Access data as the
new value for that field and then, if possible,

4. Delete the Word field itself, but keep the value in that place as
normal text.

I can do Nos. 1 and 2, but I can't get anything about dealing with these
Word fields.
 

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