E
EricB
Does anyone knows how to create a hyperlink using outlook
automation.
I have created the following in a module:
With objOutlookMsg
.To = Forms!frmElectronicSuggestion!
sbfresponsibleemail!fldEmailSectionContact
.Subject = "Automated Message: Electronic Suggestion
Box"
.HTMLBody = "<HTML><BODY><FONT face=Verdana><H5>A JAS
ELECTRONIC SUGGESTION HAS BEEN SUBMITTED AND IS WAITING
FOR YOUR ACTION</H4>" & _
"<HTML><H6>Open the Electronic Suggestion
Box to view more details and assign the name of the " & _
" Implementor who will be responsible for
handling the proposed suggestion.</H5>" & _
"<TABLE BORDER='3' CELLPADDING='3'
BGCOLOR='#80CBF6'>" & _
"<TR VALIGN='TOP'>" & _
"<TD NOWRAP><FONT
SIZE='2'>ID :</FONT></TD>" & _
"<TD NOWRAP><FONT SIZE='2'>" & Forms!
frmElectronicSuggestion!fldSuggestionNr
& "</FONT></TD></TR>" & _
"<TR VALIGN='TOP'>" & _
"<TD NOWRAP><FONT SIZE='2'>Date
Submitted :</FONT></TD>" & _
"<TD NOWRAP><FONT SIZE='2'>" & Forms!
frmElectronicSuggestion!fldDateEntered
& "</FONT></TD></TR>" & _
"<TR VALIGN='TOP'>" & _
"<TD NOWRAP><FONT SIZE='2'>Title of
Suggestion :</FONT></TD>" & _
"<TD NOWRAP><FONT SIZE='2'>" & Forms!
frmElectronicSuggestion!fldTitleIdea & "</FONT></TD></TR>"
& _
"<TR VALIGN='TOP'>" & _
"<TD NOWRAP><FONT SIZE='2'>Submitted
by :</FONT></TD>" & _
"<TD NOWRAP><FONT SIZE='2'>" & Forms!
frmElectronicSuggestion!fldNameRequestor
& "</FONT></TD></TR>" & _
"</BODY></FONT></TABLE></HTML>" & _
"<P>" & _
"<HTML><H6><HREF>\\servera\Applications\SHA
RED\suggestions\ElectronicBox.mdb</H6></HTML>"
.Recipients.ResolveAll
.Send
End With
When you receive the message in your inbox the hyperlink
does not get created.
automation.
I have created the following in a module:
With objOutlookMsg
.To = Forms!frmElectronicSuggestion!
sbfresponsibleemail!fldEmailSectionContact
.Subject = "Automated Message: Electronic Suggestion
Box"
.HTMLBody = "<HTML><BODY><FONT face=Verdana><H5>A JAS
ELECTRONIC SUGGESTION HAS BEEN SUBMITTED AND IS WAITING
FOR YOUR ACTION</H4>" & _
"<HTML><H6>Open the Electronic Suggestion
Box to view more details and assign the name of the " & _
" Implementor who will be responsible for
handling the proposed suggestion.</H5>" & _
"<TABLE BORDER='3' CELLPADDING='3'
BGCOLOR='#80CBF6'>" & _
"<TR VALIGN='TOP'>" & _
"<TD NOWRAP><FONT
SIZE='2'>ID :</FONT></TD>" & _
"<TD NOWRAP><FONT SIZE='2'>" & Forms!
frmElectronicSuggestion!fldSuggestionNr
& "</FONT></TD></TR>" & _
"<TR VALIGN='TOP'>" & _
"<TD NOWRAP><FONT SIZE='2'>Date
Submitted :</FONT></TD>" & _
"<TD NOWRAP><FONT SIZE='2'>" & Forms!
frmElectronicSuggestion!fldDateEntered
& "</FONT></TD></TR>" & _
"<TR VALIGN='TOP'>" & _
"<TD NOWRAP><FONT SIZE='2'>Title of
Suggestion :</FONT></TD>" & _
"<TD NOWRAP><FONT SIZE='2'>" & Forms!
frmElectronicSuggestion!fldTitleIdea & "</FONT></TD></TR>"
& _
"<TR VALIGN='TOP'>" & _
"<TD NOWRAP><FONT SIZE='2'>Submitted
by :</FONT></TD>" & _
"<TD NOWRAP><FONT SIZE='2'>" & Forms!
frmElectronicSuggestion!fldNameRequestor
& "</FONT></TD></TR>" & _
"</BODY></FONT></TABLE></HTML>" & _
"<P>" & _
"<HTML><H6><HREF>\\servera\Applications\SHA
RED\suggestions\ElectronicBox.mdb</H6></HTML>"
.Recipients.ResolveAll
.Send
End With
When you receive the message in your inbox the hyperlink
does not get created.