View Single Post
  #2  
Old September 3rd 07, 06:26 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Use VBA to insert hyperlink in Task Body



The link looks like this:

outlook://Personal folder/Outbox

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Sun, 2 Sep 2007 15:26:01 -0700 schrieb showme1946:

Hello -
In Outlook I can drag an Outlook folder to a task, which results in a
hyperlink to the folder being inserted in the body of the task. How can I

do
this programmatically in VBA (create the hyperlink to an Outlook folder)?

I have found articles about how to do this in an e-mail message and in
Access, but Outlook Task lacks the elements those have to make this work.

Assume that I've already created the task and the folder (the folder

holds
mail and post items) programmatically and know their names; and I know the
path for the folder. The folder will hold e-mail and post items

pertaining
to the task, and I want a link to the folder in the task so that when the
task is displayed, the user can immediately access the relevant email/post
folder.

All help greatly appreciated.

thanks
George Rickerson

Ads