I am attempting the same thing and I am on Office 2010. I tried to paste the above code (with my form name replacing "My Custom Form" into the Address field of a regular hyperlink. The resulting error is "Cannot open the specified file."
Thanks in advance for any insight you may have!
I am creating my first Outlook custom form. I would like to be able to hyperlink a control (either a Label or Command Button) to a URL.
I tried using the ContactItem - WebPage object but I can't figure out what code to add in order to make this work.
Any help would be much appreciated!