View Single Post
  #2  
Old June 11th 09, 03:09 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default propagate automatic formatting to other Outlook folder

AutoFormatRules are available only for certain views (CalendarView, CardView
and TableView). Assuming your view is one of those you can pick up the
AutoFormatRules for the source view and add them to the target view. If it's
a different type of view then you can't do it.

You would get the View.ViewType and check if it's one the correct types.
Then if it is you can cast the View as a TableView (for example).

--
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


"paresh" wrote in message
...
Hi,

Is there any way ( in Outlook 2007 ) to propagate the Automatic Formatting
rules to another folder?

If I want to write the Add-in for it then how to fetch the Automatc
Formatting information for selected folder and how to apply it to another
email folder?

Any related information would also be appreciated.

Thanks in advance.
Paresh


Ads