Module1 -v- Project1

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What is the difference between writing your code in Project1 and Module1

In following a Microsoft article on how to write code for outlook, the example
show writing code as macros and having them placed in Module1. When I calle
Microsoft a year or so ago to have them help me write a little code snipet for me
they had me place all my code in Project1

When would you use one location over the other

I know Project1 is stored in vbaproject.otm. Is Module1 stored there as well

Thanks for any input

Cheers

John
 
Project1 isn't a module. It's the container for all your modules.

You can put macros in individual modules, organized however you like. Put
event handlers in the built-in ThisOutlookSession module, which is actually
a class module.

FYI, there is a newsgroup specifically for general Outlook programming
issues "down the hall" at microsoft.public.outlook.program_vba
 
Back
Top