Html text in Task Item

Status
Not open for further replies.
D

dml0bw

I want to insert programmaticaly (vba) an html text in Body, but it doesn't

work.

I can do it in the email body (with htmlbody), but i can not do it in task

item.

Any suggestion
 
Task item bodies are RTF, not HMTL. Your Outlook version is relevant here.

Sue Mosher

"vito" <vito> wrote in message

news:FA3B01C7-D2AF-40AA-841C-A6C55D0D4450@microsoft.com...
> I want to insert programmaticaly (vba) an html text in Body, but it doesn't
> work.
> I can do it in the email body (with htmlbody), but i can not do it in task
> item.
> Any suggestion
 
ok, i do have the book but the problem exactly is : I use access 2007 and

Outlook 2007, in access the field is a rich text but when i pass the value to

task item i get an html text ( with no formatting text).
 
Again, there is no HTML content in task items. In order to insert rich text,

you have to work with the Word.Document object returned

byInspector.WordEditor. In other words, you have to use Word object model

methods. You can't just pass a value.

Sue Mosher

"vito" <vito> wrote in message

news:532FD6BB-581E-415B-813B-3536B1A929B3@microsoft.com...
> ok, i do have the book but the problem exactly is : I use access 2007 and
> Outlook 2007, in access the field is a rich text but when i pass the value
> to
> task item i get an html text ( with no formatting text).
>
 
Here's an additional discussion of this issue:

http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/b41acf6f-71c1-4a8b-9662-fbff26ba3a24.

The KB link that Tim provides shows how to copy RTF content to the clipboard

so it can be pasted into the document using Word objectmodel methods.

Sue Mosher

"Sue Mosher [MVP]" <suemvp@turtleflock.com> wrote in message

news:euQgONFvJHA.5100@TK2MSFTNGP04.phx.gbl...
> Again, there is no HTML content in task items. In order to insert rich
> text, you have to work with the Word.Document object returned
> byInspector.WordEditor. In other words, you have to use Word object model
> methods. You can't just pass a value.

> "vito" <vito> wrote in message
> news:532FD6BB-581E-415B-813B-3536B1A929B3@microsoft.com...
> > ok, i do have the book but the problem exactly is : I use access 2007 and
> > Outlook 2007, in access the field is a rich text but when i pass the
> > value to
> > task item i get an html text ( with no formatting text).
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
S HTML to Plain Text Macro - Help Outlook VBA and Custom Forms 1
S Change VBA script to send HTML email instead of text Outlook VBA and Custom Forms 3
S Emails Configured As HTML But Sent As Plain Text Using Outlook 13
C Outllok 2010 (14.0.7015.1000 (32bit) converts html mail to rich text when move Using Outlook 1
T HTML email for internal mesages and Text only for External? Using Outlook 1
A BCM 2010 converts html e-mails to plain text BCM (Business Contact Manager) 1
D Mail is received in Plain text even formatted and sent in HTML Outlook VBA and Custom Forms 1
P Formatted Text (Using HTML) in Appointment Outlook VBA and Custom Forms 1
J HTML Appointment Requests are being converted to Text Using Outlook 3
M Plain text versus HTML email Outlook VBA and Custom Forms 1
Y Setting Text Box to HTML or Rich Text Format Outlook VBA and Custom Forms 3
J Outlook 365 html inline images Using Outlook 0
Albert McCann Outlook 2021 Outlook Display of HTML Email from two senders is glitchy Using Outlook 0
J Outlook 2016 Can't display some embedded HTML images in Outlook 2016 Using Outlook 2
S HTML Code Embedded in String Within Open Outlook Email Preventing Replace(Application.ActiveInspector.CurrentItem.HTMLBody From Working Outlook VBA and Custom Forms 4
D Outlook 2016 64bit, Cannot Save in 'HTML', format Using Outlook 1
K Outlook adds space to rows in HTML email signatures viewed on mobile Using Outlook 1
M HTML email signature in Outlook Using Outlook 3
B Outlook 2016 Unable to view images or logos on the outlook 2016 emails the same html code works well when i use outlook 2010 Using Outlook 0
I Outlook 2003 shows html code when To: field is empty Using Outlook 7
B Programmatically force html send and insert clipboard contents into body Outlook VBA and Custom Forms 0
U HTML Task Alternate Home Page View Control Using Outlook 3
D Custom form with html hyperlink Outlook VBA and Custom Forms 7
D Keep Original html body when forwarding an email Outlook VBA and Custom Forms 7
D create an html table in outlook custom form 2010 using vba in MsAccess Outlook VBA and Custom Forms 7
George Simpson "Switch to HTML" in Outlook 2016 notes field Using Outlook 1
H Search and delete part of a link inside HTML body message Outlook VBA and Custom Forms 2
S Outlook 2013 doesn't download html messages Using Outlook 0
A How can I load a HTML template into the WordEditor? Outlook VBA and Custom Forms 3
cabinet guy permanent response in html Using Outlook 1
C Signatures in HTML emails Using Outlook 5
I Outlook 2013 Appointments not in HTML Using Outlook.com accounts in Outlook 2
B Replies never HTML Using Outlook 2
L Outlook 2002: HTML Emails Will Not Print: Please Help Using Outlook 0
Diane Poremsky Outlook crashes when viewing HTML Messages Using Outlook 0
Diane Poremsky Create a New Message using an HTML File or Stationery Using Outlook 0
V incorrect html signature printed Using Outlook 2
Z alter the timeout for how long outlook looks for a content-server on an HTML-email? Using Outlook 5
Diane Poremsky Create a New Message using an HTML File or Stationery Using Outlook 0
Y HTML Emails Using Outlook 1
A Lync meeting in outlook lose HTML formatting Using Outlook 3
C In need of VBA code to read / parse HTML - Outlook emails Using Outlook 0
M Unable to read HTML Using Outlook 2
V Name of attachment in replies (HTML) - possible?? Using Outlook 12
D Saving outlook emails in html and attachments Using Outlook 4
T Forcing HTML for replies in Outlook 2013 Using Outlook 4
M HTML mails apprearing broken in outlook 2013 Using Outlook 5
T Html tags in Message body Using Outlook 1
R OL2010; How to ALWAYS Reply/Forward using HTML? Using Outlook 1
J Outlook is not parsing html email, unreadable and attachment not decoded Using Outlook 1

Similar threads

Back
Top