Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   propagate automatic formatting to other Outlook folder (http://www.outlookbanter.com/outlook-vba/91426-propagate-automatic-formatting-other-outlook.html)

paresh June 11th 09 08:48 AM

propagate automatic formatting to other Outlook folder
 
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

Ken Slovak - [MVP - Outlook] June 11th 09 03:09 PM

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




All times are GMT +1. The time now is 11:11 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com