Run access procedure from vb script

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

Guest

Can you run an Outlook procedure from vbscript? I tried this but won't work.

Set oOutlook = CreateObject("Outlook.Application")
oOutlook.Run "myProcedure"

Can this be done?
 
Thanks for the reply. I am trying to run a procedure at 3:00 AM each day and
I thought maybe I could place a vbscript in scheduler to run. Works in
Access and Excel but no go in Outlook. Can you make Outlook run a procedure
at an exact time?
 
One way is to set up a recurring task with a reminder and use the Application.Reminder event

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top