Hyperlink in outlook reminder from excel

CWBlack

New Member
Joined
Sep 30, 2014
Messages
21
I am trying to send a reminder to outlook from a workbook. I want to have the reminder contain a hyperlink to a network file. I can get it to send the text of the link, but not a hyperlink. Here is the code I am using. Cell d1 contains the file location for the hyperlink and uses a formula to change this file each week when inventory is done..

Sub StoreReminders()
Dim appOL As Object
Dim objReminder As Object

Set appOL = GetObject(, "Outlook.application")
Set objReminder = appOL.CreateItem(1) ' olAppointmentItem

objReminder.Start = Range("a1") ' Date of reminder
objReminder.Duration = Range("b1") ' Time for reminder
objReminder.Subject = Range("c1") ' subject text
objReminder.body = "Remove Outdated Items." & vbCrLf & _
"<file:("d1")>" ' Body of reminder to be hyperlinked
objReminder.ReminderSet = True
objReminder.Save
End Sub

Any help is appreciated. Thanks in advance.</file
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,215,465
Messages
6,124,977
Members
449,200
Latest member
Jamil ahmed

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top