That event is ok if Outlook will be started at least once a day. Here's a
sample that uses a task reminder for running code at a specific time:
http://www.vboffice.net/sample.html?mnu=2&pub=6&smp=10&cmd=showitem
You may adapt that to run your code. The sample works only if Outlook is
running, of course.
Best regards
Michael Bauer - MVP Outlook
: VBOffice Reporter for Data Analysis & Reporting
: Outlook Categories? Category Manager Is Your Tool:
: <http://www.vboffice.net/product.html?pub=6&lang=en>
Am Wed, 28 May 2008 21:22:47 -0700 (PDT) schrieb ottk@bellsouth.net:
> I am working for a lawfirm. The firm uses commercial SQL database app
> as calendar. Firm recently bought ten Blackjack phones and wants to
> receive calendar on Blackjacks.
>
> I wrote VBA code to get calendar from SQL database and write to
> Outlook calendar. The code
> works when run on each users machine. I am avoiding any synching
> issues by deleting all appointments from Outlook before running
> process and bringing current calendar from SQL.
>
> Problem : Where and when to run the code? Attornies want update
> automatically at least once a day without having to press button or
> run process. I tried running on application startup event of Outlook.
> Is this a good idea?
>
> I need a fairly simple solution. I am firms Accountant, Office Manger,
> etc. I am fairly conversant with VBA, SQL but have not worked much
> with Outlook.
>
> Any ideas will be greatly appreciated