commeng
asked on
Inserting Hyperlink into Custom Outlook Form by EndUser
I have an outlook form with multiple text boxes. I need the end user that uses this form to be able to insert a hyperlink to a file on the network. Is there a way to enable hyperlinking on a text box in a Custom Outlook Form.
ASKER
OK, how would I write the code for the command button?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I was so close to having that on my own. :D I was doing a Sub not a Function, guess I will know for next time. Thank you so much!
You're welcome. Glad I could help out.
Instead of the normal text box you could try using a Rich Text Box. This page has a control that you could use that is based on a rich text box but with clickable hyperlinks: http://www.martin2k.co.uk/vb6/tips/vb_39.php
(Once you have registered the control, in the forms designer In the toolbox, right click and select Custom Controls, then scroll down the list to select the control.)
(Once you have registered the control, in the forms designer In the toolbox, right click and select Custom Controls, then scroll down the list to select the control.)
There's no way I know of to get a hyperlink to behave as a hyperlink in a textbox. If the textbox will only contain the hyperlink string, then you can add a command button next to the textbox and use its click event to launch the URL in the textbox.