add link on custom form
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?
|