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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command button to print a linked WORD document

Status
Not open for further replies.

dougxyz

Technical User
Nov 8, 2001
1
CA
I am using Access 2000 sr1
I need to make a command button that will print a linked Word document that is stored in an OLE type field. The document is linked and not embedded. Any help on this subject would be most appreciated

Regards
Doug
 
This may not be the answer you are looking for but an a quick and dirty solution is to use a hyperlink and the follow method something like:

with HyperlinkControl
.visible=false
.hyperlinkAddress="D:\MyWord.doc"
.followHyperlink .hyperlinkAddress
end with

I've never used this code but it should at least give you a start and the code is alot easier then automation.

Hope this helps,
Rewdee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top