Mark H
Lists at theopg.com
Wed Jun 18 08:33:47 CDT 2003
You may need to set the macro security to medium (TOOLS - MACRO - SECURITY)... I'm using Outlook 2002 btw - tried what you did and it worked fine on medium (got prompt to enable macros though) Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 18 June 2003 14:19 To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Programming in Outlook Well, I found ThisOutlookSession. In it I created: Private Sub Application_Startup() MsgBox "startup test " End Sub I closed Outlook, and re-opened. I do not see a message "startup test" What am I doing wrong? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, June 18, 2003 8:43 AM To: John Colby; accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Programming in Outlook On 18 Jun 2003 at 8:24, John Colby wrote: > Does anyone out there know how to set up an "autoexec macro" (as we > know it > in Access) that executes automatically when outlook opens? I am > trying to do a little simple stuff in Outlook and don't even know how > to do the basics. Rename modules / classes, get my program to start > up and operate when Outlook opens etc. > ThisOutlookSession - Private Sub Application_Startup() -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com