• Subject: Re: AutoFormattingRules and Filter
  • Author: Gilles
  • Date: 17 Sep 2007
  • References: 1 2 3 4
Ok I find what is wrong. In fact, Outlook don't show the filter in the GUI
autoformatrules editor. But it works on my list of emails... So, all worked
from the beginning but i didn't notice it because i always checked only the
GUI autoformatrules editor.
Thx a lot for your messages. Without you, i neved checked on my list of
emails.
Gilles

"SvenC" wrote:

> Hi Gilles,
>
> "Gilles" <Gilles@discussions.microsoft.com> wrote in message
> news:3338C2F4-553B-4028-B65F-06F713693BFE@microsoft.com...
> > Thx for your message SvenC. I find on Internet a message from you
> > explaining
> > how you create your own autoformatting rules. But when I try your code
> > with
> > my filter, it don't work. I can't see the filter in the GUI of Outlook
> > 2007
> > even so I rebuilt my rules every times I launch Outlook (in the
> > ThisAddIn_Startup event method). Is there something to do with Session ?
> > Anything else i missed ?
>
> Strange. From your initial post it seemed to be exactly as my problem: the
> formatting rules like font type/size/style are saved but the filter is not
> persisted. So applying the autoformat rule once for the current view does
> correctly work but as soon as I switch to another folder which uses the same
> view the filter is applied again but as no filter was persisted every item
> fits the rule and is formatted according to that rule.
>
> Did you check if your rule does work in the current view of the current
> folder?
>
> Otherwise, please show your exact code.
>
> --
> SvenC
>
14 Sep 2007AutoFormattingRules and Filter.Gilles
16 Sep 2007\ Re: AutoFormattingRules and Filter.SvenC
17 Sep 2007   \ Re: AutoFormattingRules and Filter.Gilles
17 Sep 2007      \ Re: AutoFormattingRules and Filter.SvenC
17 Sep 2007         \ Re: AutoFormattingRules and Filter.Gilles
17 Sep 2007            \ Re: AutoFormattingRules and Filter.SvenC
17 Sep 2007               \ Re: AutoFormattingRules and Filter.Gilles
All times are in (US) Eastern Daylight Time (GMT -4:00)