Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   HTML in Task Body (http://www.outlookbanter.com/outlook-vba/24478-html-task-body.html)

K Passaur August 20th 06 02:40 PM

HTML in Task Body
 
I am tring to create a link to a file on the Network and have it in the body
of a task. So when the user opens the task they can go directly to the file.

I can do this if I send an eMail as I can access the HTMLBody, however, I
get an error when trying to do this when creating a task. The help file says
that you can use Mail and Post with HTMLBody. Is there a way it can be done
with Tasks.

I know the body of a Task will accept HTML with a link, as if I create the
link to the file in an eMail and copy and paste it into the task it will
work. Therefore the task body accepts HTML, but how do I put it in using
VBScript

Any ideas? Thanks in advance

Sue Mosher [MVP-Outlook] August 20th 06 08:03 PM

HTML in Task Body
 
Tasks aren't HTML. They're RTF. Enter your link using the Body property, putting it in angle brackets if it contains spaces.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"K Passaur" K wrote in message ...
I am tring to create a link to a file on the Network and have it in the body
of a task. So when the user opens the task they can go directly to the file.

I can do this if I send an eMail as I can access the HTMLBody, however, I
get an error when trying to do this when creating a task. The help file says
that you can use Mail and Post with HTMLBody. Is there a way it can be done
with Tasks.

I know the body of a Task will accept HTML with a link, as if I create the
link to the file in an eMail and copy and paste it into the task it will
work. Therefore the task body accepts HTML, but how do I put it in using
VBScript

Any ideas? Thanks in advance


Michael Bauer [MVP - Outlook] August 21st 06 05:22 AM

HTML in Task Body
 
Am Sun, 20 Aug 2006 06:40:01 -0700 schrieb K Passaur:

The body format is not HTML, but RTF. You can simply write the link into it:

Body = "file://d:\name.ext"

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


I am tring to create a link to a file on the Network and have it in the

body
of a task. So when the user opens the task they can go directly to the

file.

I can do this if I send an eMail as I can access the HTMLBody, however, I
get an error when trying to do this when creating a task. The help file

says
that you can use Mail and Post with HTMLBody. Is there a way it can be

done
with Tasks.

I know the body of a Task will accept HTML with a link, as if I create the
link to the file in an eMail and copy and paste it into the task it will
work. Therefore the task body accepts HTML, but how do I put it in using
VBScript

Any ideas? Thanks in advance



All times are GMT +1. The time now is 10:37 AM.

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