Outlook Macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I know that there is a way to create a macro in Outlook, but does anyone know
if there is a way to "record" a macro from Outlook. Because I am trying to
find out how what the code is to underline some wording from VB.
 
No, there isn't. And doing any kind of formatting is highly dependent on the
version of Outlook, the message format, and the editor being used.
 
Ok thanks, I understand that is highly dependent, but do you happen know the
code for underlining? I don't know how to change the font from VB.


Sue Mosher said:
No, there isn't. And doing any kind of formatting is highly dependent on the
version of Outlook, the message format, and the editor being used.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
As I said, the code will depend on the version of Outlook, the message
format, and the editor (WordMail or the built-in editor), none of which
you've given us any information about.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
We are using Outlook 2002 Sp3 the format is rich text and we are not using
Word to edit the message (we could change these settings if we need to)
Thank You!
 
In that case, you will need to Redemption
(http://www.dimastr.com/redemption/) and its SafeInspector object, for which
code samples are available on the Redemption site. Technically, you could
use CDO 1.21 and an additional .dll (see
http://www.outlookcode.com/d/formatmsg.htm) but that's likely to trigger
security prompts in your configuration, so it's largely a dead-end.

Alternatively, use Word as the email editor and you can use Word objects and
methods.

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