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

macro to change to html and set style



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 




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
change reply to html vs plain text. option chosen is html konagirl Outlook - Installation 2 May 20th 08 01:58 AM
OE6.x can't see Outlook 2007 HTML-style email Omicron Outlook Express 7 December 9th 06 05:48 PM
Outlook 2007 Change Email Default Style Ron Boetger Outlook - General Queries 2 October 5th 06 03:26 PM
how do I change print style for monthly calendar LC Outlook - Calandaring 0 September 27th 06 08:43 PM
Font style change while writing email - from HTML to Plain text - How? David Smithz Outlook - General Queries 0 July 5th 06 01:30 AM


All times are GMT +1. The time now is 04:35 AM.


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.