A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Automating Outlook Reminders



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 23rd 06, 09:59 AM posted to microsoft.public.outlook.program_vba
Darren Hermes
external usenet poster
 
Posts: 1
Default Automating Outlook Reminders

Good morning all - I yesterday posted a query to the
microsoft.public.outlook.general usenet group regarding a question about
coding the automatic completion/dismissal of reminders. The post was as
follows...

"I recently put together a macro which saves the bodies of e-mail
messages as text files which works as I would like it to.

I wanted to automate the running of this macro and discovered that the
best way to this would probably be by creating a task in Outlook which
recurs each day at a specific time and then in the Reminder section of
the This Outlook Session coding in the Visual Basic editor in Outlook
(using version 2003 by the way) I simply added a line to call the
aforementioned macro.

This too works fine in that the reminder appears and the code is run.

However - doing it this way does not automatically dismiss or complete
the task. In order for the task to recur the next day the task must be
completed, not dismissed, and so whilst it works the first time, the
reminder doesn't appear again next day.

Is there any coding I can add to the Reminder section of the This
Outlook Session coding which would automatically dismiss the reminder
(so to remove it from screen) and also mark it as being complete (so to
allow it to recur again next day)."

I had a response suggesting that I look to set the tasks complete property
to true. So, I went to the ThisOutlookSession code and the Reminders section
and tried to do this, but being a complete coding novice I failed miserably!

I've moved this query to a more appropriate forum and was hoping somebody
might be able to provide me with information and suggest some code that I
could try using. At present, it looks like this....

Private Sub Application_Reminder(ByVal Item As Object)
Call UberMacro
End Sub

This simply calls the macro which I want to run once a reminder is
triggered. Any suggestions would be most appreciated.

Darren
Ads
  #2  
Old August 23rd 06, 02:39 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Automating Outlook Reminders

To mark the item that fired the reminder complete:

Private Sub Application_Reminder(ByVal Item As Object)
If Item.Class = olTask Then
Item.Complete = True
Item.Save
End If
End Sub
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Darren Hermes" Darren wrote in message ...
Good morning all - I yesterday posted a query to the
microsoft.public.outlook.general usenet group regarding a question about
coding the automatic completion/dismissal of reminders. The post was as
follows...

"I recently put together a macro which saves the bodies of e-mail
messages as text files which works as I would like it to.

I wanted to automate the running of this macro and discovered that the
best way to this would probably be by creating a task in Outlook which
recurs each day at a specific time and then in the Reminder section of
the This Outlook Session coding in the Visual Basic editor in Outlook
(using version 2003 by the way) I simply added a line to call the
aforementioned macro.

This too works fine in that the reminder appears and the code is run.

However - doing it this way does not automatically dismiss or complete
the task. In order for the task to recur the next day the task must be
completed, not dismissed, and so whilst it works the first time, the
reminder doesn't appear again next day.

Is there any coding I can add to the Reminder section of the This
Outlook Session coding which would automatically dismiss the reminder
(so to remove it from screen) and also mark it as being complete (so to
allow it to recur again next day)."

I had a response suggesting that I look to set the tasks complete property
to true. So, I went to the ThisOutlookSession code and the Reminders section
and tried to do this, but being a complete coding novice I failed miserably!

I've moved this query to a more appropriate forum and was hoping somebody
might be able to provide me with information and suggest some code that I
could try using. At present, it looks like this....

Private Sub Application_Reminder(ByVal Item As Object)
Call UberMacro
End Sub

This simply calls the macro which I want to run once a reminder is
triggered. Any suggestions would be most appreciated.

Darren

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access automating Outlook using VBA no longer working [email protected] Outlook and VBA 5 May 9th 06 02:04 AM
Problem automating outlook John Outlook - General Queries 6 March 27th 06 03:51 PM
Problem automating outlook John Outlook and VBA 6 March 27th 06 03:51 PM
Automating folder export from Outlook to Access [email protected] Outlook and VBA 1 March 6th 06 07:15 PM
Automating Profile Creation for Outlook 2000 David Outlook - Installation 2 January 27th 06 01:33 AM


All times are GMT +1. The time now is 10:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.