Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Word Template as Document from Access VBA

Status
Not open for further replies.

Savil

Programmer
Apr 28, 2003
333
EU
Hi
With Access 97 using VBA how can I open a new document based on a word template. Using getObject it opens the template itself not a document based on the template.

Any help appreciated
 
Try this (It works in 2002)
Dim objword As Word.Application
Set objword = New Word.Application
objword.Documents.Add Template:=("YourTemplatePath")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top