opening a saved word document

adamburton

Registered User.
Local time
Today, 06:40
Joined
Jan 24, 2003
Messages
75
This is such a stupid question, Im almost too embarrassed to ask. Can anybody tell me how to open a saved Word doc from a command button. I just cant seem to find out how to do it. Thanks in advance.
 
Hi There

This seemed to work for me as an on click event


Private Sub CmdQuickWins_Click()
DocName.Verb = -2
DocName.Action = acOLEActivate
End Sub


Raffle
 
Try this in the onclick event of your button...

FollowHyperlink ("X:\Files\YourWordDocument.doc")

HTH
 
Thank you!

It worked! Thank you so much!!!

You've just saved me unnessecary stress!!

Regards,
Adam.
 

Users who are viewing this thread

Back
Top Bottom