Outlook 2010, need script for rules & Warnings

Status
Not open for further replies.

SMT

Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Hello, we got macro's to enable /disable rules in Outlook 2010. What I need is a script that will start the macro if I reveive a mail with a certain subject from a certain sender.

Or if this is not possible to start the macro at a specific time each day.

( complete newbie in programming)

Thanks in advance,

Rob
 

SMT

Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Okay I'm newbie off.

I changed some things in my macro, and now it is a script.

Thank you for the reply.

Best

rob
 

SMT

Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Timer based macros are difficult because Outlook doesn't include a timer - definately not a newbie task. You can run macros when things happen -ie, on send, on delete etc. But in your case, you could use a rule that runs a script.

You might be able to convert an existing macro - if not, the script should be able to fire the macro.

http://www.slipstick.com/outlook/rules/outlooks-rules-and-alerts-run-a-script/

http://support.microsoft.com/kb/306108
Hi, I've still got one problem to solve. As I mentioned we got those macro's to dis- and enable rules and warnings. I now run them by script. Is there a possibilty to en- or disable only one rule.

Underneath is a part of the script...can you please point me in the right direction, need to now where to put the ""CurrentRule.Name"" so that the script will only disable that rule.

Thanks,

Rob
script:

- Public Sub EnableAllRules(Item As Outlook.MailItem)

- Dim colRules As Outlook.rules

- Dim oRule As Outlook.Rule

- Dim count As Integer

- Dim ruleList As String

- Set colRules = Application.Session.DefaultStore.GetRules

- For Each oRule In colRules

- oRule.Enabled = True

- oRule.Execute ShowProgress:=True

- count = count + 1

- ruleList = ruleList & vbCrLf & count & ". " & oRule.Name

- Next

etcetera...
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
EaglePI Outlook 2010 need help with rules Using Outlook 0
G Need help configuring a PRF for Outlook 2010 and 2013 Using Outlook 0
C Outlook 2010, Need to restrict domain users from installing any sort of a addin in outlook Using Outlook 2
F Outlook 2010 - Need help with a custom field. Using Outlook 3
J Office + Outlook 2013 installed, but I need to install Outlook 2010 Using Outlook 2
W I Need help with vb.net and outlook 2010 Using Outlook 2
R Outlook 2010 Daily Calender need high detail Using Outlook 2
T BCM 2007 to Outlook 2010 with no BCM - need contacts imported BCM (Business Contact Manager) 3
W Outlook 2010: Need to keep restarting outlook to download mail from a MAPI server Using Outlook 4
F Need to copy an email folder to another computer. How can i do this? Outlook 2010 Using Outlook 2
N need to revert back Outlook Express 6, 2010 trial expires tomorrow. Using Outlook 1
M Need help w/ Calendar Events not appearing in Outlook 2010 Using Outlook 1
N Need Help with Outlook 2010 Using Outlook 1
F Need to know the max size pst in outlook 2010 Using Outlook 2
D Need help repairing Outlook 2010. Using Outlook 2
D Need help with word wrap in Outlook 2010. Using Outlook 5
S need phone number to call for help with outlook 2010. Using Outlook 2
P Outlook 2010 Rules: Need a condition for time of day Using Outlook 2
B Need to load my contacts list and information from my office outlook - older version to my home outlook 2010 Using Outlook 1
F My Outlook 2010 Beta Trial ended, I need help getting email and contacts. Using Outlook 5
M Outlook 2010 doesn't download all emails - only a few. Need to keep hitting send/receive Using Outlook 1
W NEED HELP WITH OUTLOOK 2010 Using Outlook 2
C Need to know how to allow a hyperlink to work from and email in outlook 2010. Currently they are blocked and telling me to check with administrator. Using Outlook 3
P need Webmail (hosted by Windstream) to mimic Outlook 2010 Using Outlook 7
T 2010 Outlook multiple IMAPs All named INBOX Need better ID (even OL2003 named Inbox for account name) Using Outlook 3
M Need help with ease of entering contacts in a Contact Group in Microsoft Outlook 2010 Using Outlook 3
F got 0ffice 2010 and installed it and it asked if i wanted outlook updated to 2010. When I did it got rid of all my old emails that i need now. how d Using Outlook 1
N Outlook 2007/2010 , need help designing HTML signature that elegantly degrades to plain text Using Outlook 1
M Ms Outlook 2010 need all mail in one inbox. Using Outlook 1
G outlook 2010 trial was not working with my blackberry i need to remove it because it is interferring with my outlook 2007 which i reinstalled Using Outlook 1
L Need Suggestions on how to sync 2010 Outlook with Droid X...Help Using Outlook 1
R I need to add an exchange server mailbox to Outlook 2010, how? Using Outlook 3
J What Office 2010 suite do I need to buy to get Outlook Business Contact Manager for use at home and on my laptop? Using Outlook 4
N Do I need outlook connector for office 2010 as with outlook 2007? Using Outlook.com accounts in Outlook 1
M Need to establish Outlook 2010 as default email program. Using Outlook 7
T Why does outlook 2010 convert only some forum notifications to plain text? Using Outlook 2
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
M Outlook 2010 Problem with OutLook 2010 32 bit, after Windows Auto Update Using Outlook 3
M PST import from Outlook 2007 to 2010 - Address Book contacts all in 1 group Using Outlook 3
D Outlook 2010 account setup fails in particular domain Using Outlook 3
B Outlook 2010 is Auto Purging when not configured for that Using Outlook 1
W Outlook 2010 Reading Pane Slows Startup Using Outlook 3
S Outlook 2010 unable to change default font Using Outlook 7
B Outlook 2010 Can not find a certain file in M/S Outlook 2010. Using Outlook 1
Mark Foley Cannot enable add-in in outlook 2010 Using Outlook 0
W Outlook 2010 some sent items marked unread now (was Ok before) Using Outlook 0
RBLampert Updating from Outlook 2010 to Outlook 365 Using Outlook 0
L What are the risks of opening an Outlook 2016 .pst file in Outlook 2010? Using Outlook 4
S Unable to remove rule outlook 2010 Using Outlook 0
N Outlook 2010 Flag blocked for Safe Senders List???? Using Outlook 7
Similar threads


















































Top