How can I open a Word file through an Access switchboard?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a mail merged letter created and I an looking to be able to open it
through an Access Switchboard menu. I am using Access 2003. Is there a way?
 
I have a mail merged letter created and I an looking to be able to open it
through an Access Switchboard menu. I am using Access 2003. Is there a way?

Is this the Switchboard created by the built-in Switchboard Manager?

Create a new Module:
Public Sub FindDoc()
Application.FollowHyperlink "C:\PathToDocument\DocumentName.doc"
End Sub

Open the switchboard manager and edit the switchboard.
Add a new command
Run Code
In the Function Name box write:
FindDoc

Save the changes.

If this is your own made switchboard, add a command button.
Code the button's click event:

Application.FollowHyperlink "C:\PathToDocument\DocumentName.doc"

That's all you need do.
 

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

Similar Threads

Access Switchboard error message 1
Report opens behind switchboard 1
Switchboard 2
Access Switchboard Question - MS Access 2010 0
Access Switchboard 1
Switchboard Error 2
Re: How do I create a Switchboard form in Access 2010? 4
Switchboard Form 3

Back
Top