Try olFolderJunk. There is no enum member olFolderSpam.
--
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
"Ariel" wrote in message
...
Hi Michael,
When walking through the code, it fails at that same line as befo
Set Folder = Application.Session.GetDefaultFolder(olFolderSpam)
I assume that you believe that it has to do with not finding the correct
folder?
Will the function you gave me tell me this? If so, how do I run this
within
Outlook (I am an advanced programmer in VBA for access and excel, but
outlook
is a different animal).
Thanks for your continued support!