Alt+F11 to open the Outlook VBA editor. Place your macro code in a code
module there with the declaration as Public Sub. Your Sub must take no
incoming arguments for it to be a macro.

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
> I have an existing Macro in Outlook that basically scans an entire Mailbox
> for Messages within a given data Range, dumps the data (date, email
[quoted text clipped - 28 lines]
> signed,
> a VBA Newbie
jpotucek - 27 Apr 2006 10:17 GMT
Thanks. When I do alt/f11 to bring up VBE - the code window is displaying
code for an existing Macro. on the left hand side, it shows
Project1(ProjectName)
-Microsoft Outlook Objects
This Outlook Session
-Modules
Module1
I don't want to edit this existing Module1 code.. I want to start fresh...
what am I missing here??
> Alt+F11 to open the Outlook VBA editor. Place your macro code in a code
> module there with the declaration as Public Sub. Your Sub must take no
[quoted text clipped - 32 lines]
> > signed,
> > a VBA Newbie
Ken Slovak - [MVP - Outlook] - 27 Apr 2006 14:30 GMT
Insert, Module.

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
> Thanks. When I do alt/f11 to bring up VBE - the code window is
> displaying
[quoted text clipped - 51 lines]
>> > signed,
>> > a VBA Newbie