Open Access form in Word

dtompkins

New member
Local time
Today, 02:16
Joined
Aug 14, 2009
Messages
2
I have a word document that I pasted into a form. I have a command button that I want to have open the form in Word with out using a hyperlink. I noticed that this can be done manually by opening the form with the pasted document in design view by selecting Edit, Document Object, Open...the problem is that I don't get the "document object" option unless I'm in design mode and have set the focus on the pasted document.

Does anyone have an idea of how to make this work? I'm using Access 2003.
 
this is a little not clear to me! do you wanna open the Access form in microsoft word?
how can this be true?
or you wanna open the Word document directly from theis acces form?!!!
the Command Followhyperlink can be done even on any type of documnets without need to make it as a hyperlink...
i will give you an example right now!
 
Alow me to suggest the following:
1-Set the source Doc properity to the file you wish to open
2-use:
Code:
Application.followHyperLink
see attachment
 

Attachments

I figured it out...I used:

Dim ctl As CommandButton
Set ctl = Me!Command68
With ctl
.Visible = True
.HyperlinkAddress = "\\hpggfile01\hpgg\01_CORP\HR\FORMS\Corrective Action Forms\HCA Attendance Notification.doc"

End With


Thanks for your help! :D
 

Users who are viewing this thread

Back
Top Bottom