Link in label tag work working

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.
 
K

Ken Slovak - [MVP - Outlook]

Is the form published? Does it round trip with the form code in it? Does it
get received as your custom MessageClass?
 
T

tmreyes

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?
 
K

Ken Slovak - [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Hyperlink in Outlook form v2 5
SueHelpMe 1
Label click not working 6
using a command button to operate a hyperlink 5
open file 8
navigate 1
URL's in Custom Forms 1
Go To Folder 0

Top