Link in label tag work working

  • Thread starter Thread starter tmreyes
  • Start date Start date
T

tmreyes

I have a label and i have put a static link into the Tag property with the
following code behind it
Sub Label15_Click()
Set objWeb = CreateObject("InternetExplorer.Application")
objWeb.Navigate Item.GetInspector.ModifiedFormPages _
("Message").Controls("Label15").Tag
objWeb.Visible = True
End Sub

when it run the form in design mode and click on the label it works and goes
to the link site but when i actually send the form to myself via outlook the
link does not work when i click on the label. any suggestions?

thanks in advance.
 
Is the form published? Does it round trip with the form code in it? Does it
get received as your custom MessageClass?
 
Ken -
here are my responses:
Is the form published? YES Does it round trip with the form code in it? YES
Does it
get received as your custom MessageClass? HOW WOULD I TELL?
 
Set your reading pane to bottom and right-click on the header row and select
Field Chooser. Select All Mail Fields in the drop-down and drag Message
Class to your header row. Your custom MessageClass should show up.

It's also possible that the sending caused the link to be changed or
disabled, depending on how it's written out and generated. Take a look at
the HTMLBody property of the received item and make sure it's the same link
as you created in the original email.

In general sending Outlook forms is not really a good idea. Too many things
can and do go wrong.
 
Back
Top