If you have a problem with a macro it's always a good idea to comment out
any On Error Resume Next statement and see where any errors happen or what's
going on line by line.
Your code worked here when I added a Dim statement for NewCategories as a
string and replaced "myOlApp" with "Application". When writing Outlook VBA
code always use the intrinsic Application object for Outlook.Application.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> This macro should add specified categorie to each email I have
> selected, but nothing happens. What could be wrong?
[quoted text clipped - 26 lines]
> End Sub
> ----------------------------------------
info@flaxar.se - 20 Nov 2006 16:51 GMT
Great! Works fine, thanks!
Justyn Case - 22 Nov 2006 17:13 GMT
On Mon, 20 Nov 2006 08:51:29 -0800, info wrote:
> Great! Works fine, thanks!
Could you post it again please? I missed it first time round.
Justyn Case