A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

how get text formatting from appointment



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 9th 08, 05:42 PM posted to microsoft.public.outlook.program_vba
AlexD
external usenet poster
 
Posts: 8
Default how get text formatting from appointment

Hi.
I created an appointment in outlook with body like this "Bold cursive" - the
first word is bold font but when I do that
_AppointmentItem olAppointmentItem;
.....
olAppointmentItem.GetBody();

I get just "Bold cursive" without formatting
Anybody can help me?
Thanks.
Ads
  #2  
Old September 9th 08, 07:33 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default how get text formatting from appointment

For formatted text try getting HTMLBody.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"AlexD" wrote in message
...
Hi.
I created an appointment in outlook with body like this "Bold cursive" -
the
first word is bold font but when I do that
_AppointmentItem olAppointmentItem;
....
olAppointmentItem.GetBody();

I get just "Bold cursive" without formatting
Anybody can help me?
Thanks.


  #3  
Old September 10th 08, 12:15 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default how get text formatting from appointment

That won't work in an appointment. To get the formatted appointment body, use
Inspector.WordEditor in Outlook 2007, returning a Word.Document object, or
use Redemption's SafeInspector. See
http://www.outlookcode.com/article.aspx?id=31
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"Ken Slovak - [MVP - Outlook]" wrote:

For formatted text try getting HTMLBody.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"AlexD" wrote in message
...
Hi.
I created an appointment in outlook with body like this "Bold cursive" -
the
first word is bold font but when I do that
_AppointmentItem olAppointmentItem;
....
olAppointmentItem.GetBody();

I get just "Bold cursive" without formatting
Anybody can help me?
Thanks.



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting appointment text Juan García Outlook - Calandaring 7 August 4th 08 11:13 PM
formatting text skurtz Outlook - Using Contacts 1 April 21st 08 09:10 PM
Text Formatting Command is not available ilogik Outlook - General Queries 0 April 7th 06 04:08 PM
Rich Text Formatting WM Outlook - Using Forms 6 April 3rd 06 03:56 PM
formatting text -- line width Ben Crain Outlook Express 3 February 14th 06 07:43 AM


All times are GMT +1. The time now is 08:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.