In an Access form, how do I link to a word doc?

R

Raytown

I hope this question sounds simple to you...
I have a access database for the employees in the company. From the Form
view of an employee record, I would like to be able to click on a link that
would open up an employee's resume which is a Word doc that is in a folder
with all the other employee resumes. Any idea how I might accomplish this?

Thanks.
 
D

Dirk Goldgar

Raytown said:
I hope this question sounds simple to you...
I have a access database for the employees in the company. From the
Form view of an employee record, I would like to be able to click on
a link that would open up an employee's resume which is a Word doc
that is in a folder with all the other employee resumes. Any idea how
I might accomplish this?

Thanks.

If you can construct a fully-qualified path to the file, you can tell
Access to follow it as a hyperlink. For example,

Const conResumeFolder As String = "C:\Employee Resumes\"
Dim strResume As String

strResume = conResumeFolder & "Resume" & Me!EmloyeeNumber & ".doc

Application.FollowHyperlink strResume
 
J

jmuirman

Can I create a button to click on to take me to a word document? Your
solution is alittle over my head - not sure what to do with the code you
provided or what it means.

Thanks,

John
 

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

Top