![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
Task item bodies are RTF, not HMTL. Your Outlook version is relevant here.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "vito" wrote in message ... 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 |
#3
|
|||
|
|||
![]()
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). |
#4
|
|||
|
|||
![]()
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, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "vito" wrote in message ... 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). |
#5
|
|||
|
|||
![]()
Here's an additional discussion of this issue:
http://social.msdn.microsoft.com/For...2-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, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Sue Mosher [MVP]" wrote in message ... 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" wrote in message ... 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). |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003: How to read emails in HTML, Rich Text or Plain Text? | Spin[_2_] | Outlook - General Queries | 2 | December 24th 08 05:00 AM |
change reply to html vs plain text. option chosen is html | konagirl | Outlook - Installation | 2 | May 20th 08 01:58 AM |
Difference within HTML/Rich Text/Plain Text | vt003 | Outlook - General Queries | 1 | October 3rd 07 06:30 PM |
is there a way to set an attached task to an task item instead ofan attachmentitem? | David Schwab | Outlook and VBA | 1 | October 12th 06 05:44 AM |
problem with rich text (HTML)/plain text | Jam Sr | Outlook Express | 2 | July 8th 06 12:50 AM |