identifying a message

  • Thread starter Thread starter Lynn
  • Start date Start date
Try this:

Select Case (olMailItem.GetInspector.EditorType)
Case olEditorHTML:

Case olEditorRTF:

Case Else

End Select

David

---- original message ----
Date: 2/7/2005 1:33:00 AM
Author: Lynn
hi, how can i check if an email is in rtf or html format using vba ?
thanks
 
how do i know if there is a MailItem.GetInspector method in outlook ?
assuming i did not know GetInspector method from you.
 
You do your homework in the object browser: Press ALt+F11 to open the VBA
environment in Outlook, then press F2. Switch from <All Libraries> to
Outlook to browse all Outlook objects and their properties, methods, and
events. Select any object or member, then press F1 to see its Help topic. If
you searched for "RTF" or "HTML," you'd probably have found it.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
this is the only way to find out is it?

Sue Mosher said:
You do your homework in the object browser: Press ALt+F11 to open the VBA
environment in Outlook, then press F2. Switch from <All Libraries> to
Outlook to browse all Outlook objects and their properties, methods, and
events. Select any object or member, then press F1 to see its Help topic. If
you searched for "RTF" or "HTML," you'd probably have found it.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Either that or ask, as you did originally.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top