A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Attaching Shortcuts to AppointmentItems



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 11th 06, 12:45 PM posted to microsoft.public.outlook.program_vba
dch3
external usenet poster
 
Posts: 105
Default 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.
Ads
  #2  
Old November 13th 06, 06:20 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default 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.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Attaching .exe files TChamp3121 Outlook - General Queries 3 October 13th 06 05:48 AM
Attaching Document Links markinkent2 Outlook - Installation 1 July 10th 06 05:12 PM
Attaching emails to an email Derek Outlook Express 3 May 31st 06 08:04 PM
Attaching items to contacts [email protected] Outlook - General Queries 0 April 28th 06 05:11 PM
help attaching files Uncle Vinnie Outlook - General Queries 3 April 24th 06 03:20 PM


All times are GMT +1. The time now is 03:55 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-2025 Outlook Banter.
The comments are property of their posters.