Adding a Link to a word document

C

Cavedwella

Hi...

I am a complete newbie to outlook forms and I've just started playing around
with them and I'm stuck...

I have created a form for new equipment, which part way through asks if
training is required... (set up a training course Yes/No)
I would like to have a link to Training request form - which is currently a
word doc on a different network drive...

Not 100% sure how this is going to work, as after trawling through the
messages here, it would appear I need to have the a message box (body of the
email) within the form. When I tried this I couldn't get the hyperlink to
work... e.g. didn't get the blue line underneath...

Can I get a command button to do the same thing?

I am using Outlook 2003.

Anybody able to point me in the right direction please...
 
C

Cavedwella

I have found some code which might just do the trick...

Sub Label1_Click()
Set objWeb = CreateObject("InternetExplorer.Application")
objWeb.Navigate Item.GetInspector.ModifiedFormPages _
("P.2").Controls("Label1").Caption
objWeb.Visible = True
End Sub

Please can someone show me how to modify it...

Thanks
 
S

Sue Mosher [MVP-Outlook]

If you want to use that technique, simply put the file:// URL for the document you want to open as the caption for the label.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
I

indygirl

I am in need of the same thing. I need to add a hpyerlink to open a word
document on our server but adding the URL to the caption of the button does
not seem to work. Help!

Sue Mosher said:
If you want to use that technique, simply put the file:// URL for the document you want to open as the caption for the label.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

Please explain in detail what "doesn't work" means. We don't know how you've published the form, whether other code on the form works, etc.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


indygirl said:
I am in need of the same thing. I need to add a hpyerlink to open a word
document on our server but adding the URL to the caption of the button does
not seem to work. Help!
 

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