HTML in Appointment Body

B

BigDubb

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 = "<b>Hello World!</b>"

renders exactly as it's entered into the string
 
S

Sue Mosher [MVP-Outlook]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top