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

outlook rule using specific time of day



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 30th 07, 11:38 PM posted to microsoft.public.outlook.program_vba
Candie Lam
external usenet poster
 
Posts: 1
Default outlook rule using specific time of day

I hope someone can tell me if this can be done using VBA and outlook rules.
If so, then I'll look for a programmer.
I need to monitor a mailbox only during specific hours and only 4 days a
week.
I would like to set a rule that forwards mail to another mailbox only during
these off hours like: Wednesday and Thrusday from 8:00PM to 6:00am and Friday
8:00 pm until Sunday 6:00pm.
I can't see how to create a rule using releative days let alone specific
hours and wonder if VBA can help implement such a rule.

Ads
  #2  
Old July 31st 07, 06:09 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default outlook rule using specific time of day



With VBA that's possible. You can set up a Run-a-Script rule to call the
script that checks the time, if it's within your specified time frame then
it forwards the mail else it does nothing.

Please note that Outlook must be running for that. And Outlook is not a
server software, you cannot rely on that it's available of the time.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Mon, 30 Jul 2007 15:38:03 -0700 schrieb Candie Lam:

I hope someone can tell me if this can be done using VBA and outlook

rules.
If so, then I'll look for a programmer.
I need to monitor a mailbox only during specific hours and only 4 days a
week.
I would like to set a rule that forwards mail to another mailbox only

during
these off hours like: Wednesday and Thrusday from 8:00PM to 6:00am and

Friday
8:00 pm until Sunday 6:00pm.
I can't see how to create a rule using releative days let alone specific
hours and wonder if VBA can help implement such a rule.

 




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
Custom Rule - from specific sender which contains... [email protected] Outlook and VBA 4 March 15th 07 01:29 PM
why an Outlook rule for a specific word in the subject, does not always work [email protected] Outlook - General Queries 5 February 17th 07 04:26 PM
Rule to block specific attachment type Ken Outlook - General Queries 3 November 16th 06 03:03 AM
How to run a rule only during specific time periods? Alan Outlook - General Queries 2 September 26th 06 07:26 PM
how do i set up a rule to send from a specific account ? Hammh Outlook - Installation 2 September 26th 06 09:19 AM


All times are GMT +1. The time now is 08:17 PM.


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.