Outlook VBA query

vb6 , outlook , vba , outlook vba India
  • 12 years ago
    Hi All, Plz let me know if this is possible through to do through Outlook VBA: From the time we start outlook it should start running one application which will through a message box every one hour..... when i start the outlook....it should record the start time and it should keep running....if the time interval is exactly 1 hour...it should through a message box.... is this possible through outlook VBA...? regards, SK
  • 12 years ago
    Hi there, Yes that should be possible. You could use a timer that you start when the VBA code initializes, and then fire off the messagebox after an hour has elapsed. It's not the easiest of things to get timers working in VBA, I believe, but check out this article - [http://www.cpearson.com/excel/OnTime.aspx](http://www.cpearson.com/excel/OnTime.aspx) - that should help. All the best James

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” - Brian Kernighan