add link on custom form

D

Dasha

Hi!

I have such a question: On my custom form I want to have link to
another custom form.
I wrote "<Outlook://Public Folders/All Public Folders/paymen/~" &
Item.Subject & ">", but on post form I can't just click and open this
link, and I don't want to do it with browser. Can anyone tell me how
can I open this link?

Many thanks for any help in advance.
 
D

Dasha

I tried this
Sub Label1_Click()
strURL = Item.GetInspector.ModifiedFormPages _
("P.2").Controls("Label1").Caption
set objWeb = _
Application.ActiveExplorer.CommandBars.FindControl(26, 1740)
objWeb.text = strURL
End Sub,
but IE is opening... what to do?
 
S

Sue Mosher [MVP-Outlook]

If IE opens, it should then show the Outlook item. What's your Outlook version and the exact URL? Please quote relevant parts of earlier messages to keep the important informatoin together.

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

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