How can I open a Word DOCUMENT from Access?

a14929

Registered User.
Local time
Today, 12:42
Joined
Apr 9, 2000
Messages
11
How do I open a Word document from Access. I know how to open the application, itself, but not a document
 
create a button.
then seyt vits hyper link the the document that you want to open.
Paula
 
I'm not sure how you open word, but I use this to open word and a specific object. I have two variables:
Dim hotapp As Word.Application
Dim hotdoc As Word.Document

Then this code opens them:
Set hotapp = CreateObject("Word.Application")
Set hotdoc = hotapp.Documents.Open("P:\Editorial Operations\Production Report\Hotline.doc")

You also need to make them visible:

hotapp.visible = True
 

Users who are viewing this thread

Back
Top Bottom