View Single Post
  #1  
Old February 19th 07, 07:10 PM posted to microsoft.public.outlook.program_vba
julien Touche
external usenet poster
 
Posts: 7
Default macro to change to html and set style


Hi

i'm trying to set with a macro the styles of an email on Outlook 2003.

what i want to do (in regexp+html)
/^\+ (.*)/b+ $1\/b/
/^([A-Z0-9].*)$/hr\ni$1\/i/

so in clear text,
if prefixed with "+ ", set the line to bold
if prefixed with a upper-case word, set a line and italic style

i didn't manage to do it with a macro.
i also need to first check mail is html type as i mostly use text one.


any help ?


thanks a lot
regards
Ads