![]() |
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 am tring to dynamically build a body of an appointment via a custom built
AddIn. Does anyone know how I might be able to pass markup into that property and have it render on the appointment? ie. Outlook.Appointment.Body = "bHello World!/b" renders exactly as it's entered into the string |
Ads |
#2
|
|||
|
|||
![]()
That's normal and expected behavior, given that AppointmentItem bodies are
RTF, not HTML. See http://www.outlookcode.com/article.aspx?id=31 for your options. If you need more specifics, we'll need your Outlook version. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "BigDubb" wrote: I am tring to dynamically build a body of an appointment via a custom built AddIn. Does anyone know how I might be able to pass markup into that property and have it render on the appointment? ie. Outlook.Appointment.Body = "bHello World!/b" renders exactly as it's entered into the string |
#3
|
|||
|
|||
![]()
Thanks. I'm digging into this. IT seems pretty easy if I"m using outlook
2007. "Sue Mosher [MVP-Outlook]" wrote: That's normal and expected behavior, given that AppointmentItem bodies are RTF, not HTML. See http://www.outlookcode.com/article.aspx?id=31 for your options. If you need more specifics, we'll need your Outlook version. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "BigDubb" wrote: I am tring to dynamically build a body of an appointment via a custom built AddIn. Does anyone know how I might be able to pass markup into that property and have it render on the appointment? ie. Outlook.Appointment.Body = "bHello World!/b" renders exactly as it's entered into the string |
#4
|
|||
|
|||
![]()
Yes, because Word is always the editor in Outlook 2007 appointments, you can
use Inspector.WordEditor to return a Word.Document object and then do whatever you want with that content (and that includes leveraging whatever you learn from recording Word macros). -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "BigDubb" wrote: Thanks. I'm digging into this. IT seems pretty easy if I"m using outlook 2007. "Sue Mosher [MVP-Outlook]" wrote: That's normal and expected behavior, given that AppointmentItem bodies are RTF, not HTML. See http://www.outlookcode.com/article.aspx?id=31 for your options. If you need more specifics, we'll need your Outlook version. "BigDubb" wrote: I am tring to dynamically build a body of an appointment via a custom built AddIn. Does anyone know how I might be able to pass markup into that property and have it render on the appointment? ie. Outlook.Appointment.Body = "bHello World!/b" renders exactly as it's entered into the string |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook HTML.Body | grahamproctor | Outlook and VBA | 9 | January 25th 07 08:30 PM |
HTML olAppointment Body? | Tony Gravagno | Add-ins for Outlook | 5 | December 19th 06 09:53 PM |
HTML in Task Body | K Passaur | Outlook and VBA | 2 | August 21st 06 05:22 AM |
mailto - html in body | Giorgio | Outlook Express | 7 | June 21st 06 02:41 PM |
Graphics in HTML Body | GeorgeMar | Outlook and VBA | 2 | February 27th 06 02:17 PM |