Try this:
If TypeName(Item) = "MailItem" Then
--
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
"Glen.Cooper" wrote in message
...
Hi Rattanjits!
Thank you for the response, but none of that seems to work :-(
I have copied and pasted it all into the appropiate areas, and get the
error:
COMPILE ERROR:
EXPECTED: TYPE NAME
Can you help at all?
--
Glen.Cooper
------------------------------------------------------------------------
Glen.Cooper's Profile:
http://www.thecodecage.com/forumz/member.php?userid=613
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=121980