|
Believe it or not, a label control on an Outlook form supports a
Click event. So, you can put the text for the hyperlink in the
control's caption and use code like this (adapted for your page and
control name, of course) to launch the link in the browser when the
user clicks the label. You could, of course, also use a
CommandButton control or store the URL somewhere other than the control's
caption or even generate it programmatically. (Thanks to Rick Spiewak for this tip.):
You may want to format the label to show the link as blue and
underlined, so users will know to click on it. You could also put
the name of the page in the caption and put the hyperlink in the
control's Tag property, changing the code above to use Tag instead
of Caption. If you want to use Outlook's own internal browser
capability instead of your default browser, try this variation. (Thanks to
Dmitry Streblechenko for this tip from the
outlook-dev discussion list.) |