Outlook "time clock" Macro

  • Thread starter Thread starter barnold
  • Start date Start date
B

barnold

I am looking to create a macro in outlook so when I start Outlook it
creates a appointment with the current time and then on shutdown. I
would like to use it as a "time clock" program. I do not have a
outlook VBA book, but I have programmed in Excell VBA. Thank you in
advance for any help.
 
Do you want to use that for tracking for how long OL is running? This
example uses a journalItem for that:

Private Sub Application_Startup()
Dim Ji As Outlook.JournalItem
Set Ji = Application.CreateItem(olJournalItem)
Ji.Start = Now
Ji.Save
Ji.Display
Ji.StartTimer
Ji.GetInspector.WindowState = olMinimized
End Sub

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Wed, 26 Aug 2009 06:49:08 -0700 (PDT) schrieb
(e-mail address removed):
 
Back
Top