DOCUMENTS.

  • Thread starter Thread starter hczudick
  • Start date Start date
H

hczudick

FOLLOWING CODE STOPPED WORKING IN ACCESS 2003:


Documents.Open Filename:="c:\xx\contract.doc"
 
hczudick said:
FOLLOWING CODE STOPPED WORKING IN ACCESS 2003:


Documents.Open Filename:="c:\xx\contract.doc"

That code is from Word, not Access.
 
If you are truly looking for the code to open a file in MS Access VBA then
you should use the FollowHyperlink Method

Application.FollowHyperlink = "c:\xx\contract.doc"
--
Hope this helps,

Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top