Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Attaching Shortcuts to AppointmentItems (http://www.outlookbanter.com/outlook-vba/32596-attaching-shortcuts-appointmentitems.html)

dch3 November 11th 06 12:45 PM

Attaching Shortcuts to AppointmentItems
 
Is there an way to put a shortcut to a file into an AppointmentItem? I've
played with dragging and dropping, but it doesn't actually save the shortcut.
The bigger picture is that I want to have an AppointmentItem that has links
to one or more files on a shared drive that related to the AI.

Michael Bauer [MVP - Outlook] November 13th 06 06:20 AM

Attaching Shortcuts to AppointmentItems
 


Here's a VBA sample:

Dim oAppt As Outlook.AppointmentItem
Set oAppt = Application.CreateItem(olAppointmentItem)
oAppt.Body = "file://d:/test.txt"
oAppt.Display


--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

Am Sat, 11 Nov 2006 04:45:01 -0800 schrieb dch3:

Is there an way to put a shortcut to a file into an AppointmentItem? I've
played with dragging and dropping, but it doesn't actually save the

shortcut.
The bigger picture is that I want to have an AppointmentItem that has

links
to one or more files on a shared drive that related to the AI.



All times are GMT +1. The time now is 06:41 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com