Passing data from Access to Word

G

G&R

Table includes order # and stock # for part being ordered. Form accepts
order #, looks up stock # and opens Word file with instructions for assembing
stock # in question. My code works OK to this point. Problem: The footer of
each assembly instruction includes an area that needs to be populated with
the individual order #, i.e. (within the footer of the Word doc) Order #
_______.
 
J

John Nurick

Something like this:

Dim oDoc as Word.Document
Dim lngSection as Long
...
With oDoc.Sections(lngSection).Footers(wdHeaderFooterPrimary)
.Range.Text = "This is the footer"
End With
 

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