![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Sub SETLINK()
ActiveSheet.Hyperlinks.Add Anchor:=Range("A78"), Address:= _ RECORDS.xlsx, _ TextToDisplay:="HERE" End Sub Hi all, I want to add Hyperlink in Email Body by using above macro. I just want to know that I have created above macro in excel but I want to have same macro in outlook so what should I put in above code where it say "ActiveSheet" and "Range("A78"). I assume it might be "Obj.Body" or something but i want some friend to give me bit help. |
Ads |
#2
|
|||
|
|||
![]() This works for the active e-mail: Dim Mail as Outlook.MailItem Set Mail=Application.ActiveInspector.CurrentItem Mail.HTMLBody="a href='your link'click me/a" -- Best regards Michael Bauer - MVP Outlook : Outlook Categories? Category Manager Is Your Tool : VBOffice Reporter for Data Analysis & Reporting : http://www.vboffice.net/product.html?pub=6&lang=en Am Thu, 23 Apr 2009 08:11:22 -0700 (PDT) schrieb K: Sub SETLINK() ActiveSheet.Hyperlinks.Add Anchor:=Range("A78"), Address:= _ RECORDS.xlsx, _ TextToDisplay:="HERE" End Sub Hi all, I want to add Hyperlink in Email Body by using above macro. I just want to know that I have created above macro in excel but I want to have same macro in outlook so what should I put in above code where it say "ActiveSheet" and "Range("A78"). I assume it might be "Obj.Body" or something but i want some friend to give me bit help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
VBA to insert Hyperlink in Email Body | K[_3_] | Outlook and VBA | 0 | April 23rd 09 03:55 PM |
Hyperlink Title in Outlook email body | Jon Lewis | Outlook - General Queries | 4 | June 21st 08 10:09 AM |
Use VBA to insert hyperlink in Task Body | showme1946 | Outlook and VBA | 25 | October 8th 07 07:21 PM |
How to display text of a hyperlink in an email body? | salad | Outlook and VBA | 3 | June 28th 07 07:39 PM |
Hyperlink in body/notes area of appointment | Conan Kelly | Outlook and VBA | 1 | April 28th 06 01:20 AM |