open word doc

  • Thread starter Thread starter יריב החביב
  • Start date Start date
×

יריב החביב

Hello,

Can you, Please, write me the code to open word document (c:\"tamar")


from access application .


thank you



תודה רבה
 
???? ????? said:
Hello,

Can you, Please, write me the code to open word document (c:\"tamar")


from access application .

Simple go:

application.FollowHyperlink "name of document"


The "name of document" needs to be replaced with the name of the document
you want to open. It works for all applications.

eg:


application.FollowHyperlink "c:\mypdf\Info.pdf"

Above would open a pdf document

application.FollowHyperlink "c:\mypExcelStuff\Budget.xls"

Above would open a excel document

application.FollowHyperlink "c:\"tamar.doc"

The above would open a word document....
 
thank you albert,

Is it another way (code) without using hiperlink ?
 

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