Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
You can automate Outlook 2000, 2002, and 2003 with one small change.
The Outlook 97 Namespace class member has changed to _Namespace in Outlook 2000, 2002, and 2003.
To use the code above for automating Outlook 2000, 2002, and 2003 change this line:
Namespace olNS(olApp.GetNames("MAPI"));
to:
_Namespace olNS(olApp.GetNames("MAPI"));