LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default How to Hyperlink in an email?

I have the following code below that creates an outlook email. I need to
hyperlink the holder variable how can I do this in VBA?

Sub Send_Msg()

Dim objOL As New Outlook.Application
Dim objMail As MailItem
Set objOL = New Outlook.Application
Set objMail = objOL.CreateItem(olMailItem)

holder = "\\server\share"
With objMail
.To = "
.Subject = "Test Email"
.Body = holder
.Display
'.Send
End With

Set objMail = Nothing
Set objOL = Nothing

End Sub
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Email via hyperlink Paul Dye Excel Discussion (Misc queries) 0 November 7th 06 10:27 PM
Excel Email Hyperlink Bug jcpotwor Excel Discussion (Misc queries) 0 April 21st 06 02:17 PM
email using hyperlink crazylikeanut Excel Worksheet Functions 1 November 30th 05 07:23 PM
hyperlink email challenge brendan Excel Discussion (Misc queries) 11 October 18th 05 09:08 AM
email address hyperlink Ulti Excel Worksheet Functions 1 March 1st 05 03:18 AM


All times are GMT +1. The time now is 09:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"