![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I created a rule that looks for certain conditions in the email, and then
runs a script. Worked lovely yesterday. This morning, it will not run. Any suggestions for troubleshooting why? [BTW, Sue Mosher helped me out with the same script yesterday (thanks!) but thought I'd start a new post since this is a different problem I'm having.] I think I've narrowed it down to a problem with the script itself not running, because I tried copying the rule, and then instead of having it run the script, had the rule just forward the message to myself again. This worked fine. My other rules seem to be working fine. The script is saved in the ThisOutlookSession window, and all looks fine as far as I can tell, it's all still there. I did try making some changes to the script itself this morning before testing the rule, but when it didn't work, I changed everthing back to original script and it still doesn't work. Also tried closing & reopening Outlook, and also restarting the whole darn computer. This is the first time I've ever tried running scripts from rules -- is this a tempremental operation perhaps? Thanks for any ideas. |
Ads |
#2
|
|||
|
|||
![]()
Does other VBA code run? Have you checked your macro security setting?
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Dawn" wrote in message ... I created a rule that looks for certain conditions in the email, and then runs a script. Worked lovely yesterday. This morning, it will not run. Any suggestions for troubleshooting why? [BTW, Sue Mosher helped me out with the same script yesterday (thanks!) but thought I'd start a new post since this is a different problem I'm having.] I think I've narrowed it down to a problem with the script itself not running, because I tried copying the rule, and then instead of having it run the script, had the rule just forward the message to myself again. This worked fine. My other rules seem to be working fine. The script is saved in the ThisOutlookSession window, and all looks fine as far as I can tell, it's all still there. I did try making some changes to the script itself this morning before testing the rule, but when it didn't work, I changed everthing back to original script and it still doesn't work. Also tried closing & reopening Outlook, and also restarting the whole darn computer. This is the first time I've ever tried running scripts from rules -- is this a tempremental operation perhaps? Thanks for any ideas. |
#3
|
|||
|
|||
![]()
Hi Sue -- it seems I can't get any script to fire from this rule. I added a
script to change the message to plain text, it also won't run. My security settings were on "warning for signed macros, disable unsigned macros" I tried setting it to "warnings for all macros" and to "no security check" neither of which helped. I've set it back to "warnings for all". It did work yesterday, nothing's changed as far as I know. "Sue Mosher [MVP]" wrote: Does other VBA code run? Have you checked your macro security setting? -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Dawn" wrote in message ... I created a rule that looks for certain conditions in the email, and then runs a script. Worked lovely yesterday. This morning, it will not run. Any suggestions for troubleshooting why? [BTW, Sue Mosher helped me out with the same script yesterday (thanks!) but thought I'd start a new post since this is a different problem I'm having.] I think I've narrowed it down to a problem with the script itself not running, because I tried copying the rule, and then instead of having it run the script, had the rule just forward the message to myself again. This worked fine. My other rules seem to be working fine. The script is saved in the ThisOutlookSession window, and all looks fine as far as I can tell, it's all still there. I did try making some changes to the script itself this morning before testing the rule, but when it didn't work, I changed everthing back to original script and it still doesn't work. Also tried closing & reopening Outlook, and also restarting the whole darn computer. This is the first time I've ever tried running scripts from rules -- is this a tempremental operation perhaps? Thanks for any ideas. |
#4
|
|||
|
|||
![]()
We already know from your description that the rule script isn't running,
but what about a simple VBA macro? FYI, you must restart Outlook after changing the macro security setting or the new setting won't take effect. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Dawn" wrote in message news ![]() Hi Sue -- it seems I can't get any script to fire from this rule. I added a script to change the message to plain text, it also won't run. My security settings were on "warning for signed macros, disable unsigned macros" I tried setting it to "warnings for all macros" and to "no security check" neither of which helped. I've set it back to "warnings for all". It did work yesterday, nothing's changed as far as I know. "Sue Mosher [MVP]" wrote: Does other VBA code run? Have you checked your macro security setting? "Dawn" wrote in message ... I created a rule that looks for certain conditions in the email, and then runs a script. Worked lovely yesterday. This morning, it will not run. Any suggestions for troubleshooting why? [BTW, Sue Mosher helped me out with the same script yesterday (thanks!) but thought I'd start a new post since this is a different problem I'm having.] I think I've narrowed it down to a problem with the script itself not running, because I tried copying the rule, and then instead of having it run the script, had the rule just forward the message to myself again. This worked fine. My other rules seem to be working fine. The script is saved in the ThisOutlookSession window, and all looks fine as far as I can tell, it's all still there. I did try making some changes to the script itself this morning before testing the rule, but when it didn't work, I changed everthing back to original script and it still doesn't work. Also tried closing & reopening Outlook, and also restarting the whole darn computer. This is the first time I've ever tried running scripts from rules -- is this a tempremental operation perhaps? Thanks for any ideas. |
#5
|
|||
|
|||
![]()
Thanks, Macro security did turn out to be the problem. (I didn't understand
the difference between a script and a macro, AND I didn't know I needed to restart to get the settings change to take effect.) (now... guess I have to figure out how to digitally sign the script, or put up with that warning box!) Thanks for your help, appreciate it! "Sue Mosher [MVP]" wrote: We already know from your description that the rule script isn't running, but what about a simple VBA macro? FYI, you must restart Outlook after changing the macro security setting or the new setting won't take effect. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Dawn" wrote in message news ![]() Hi Sue -- it seems I can't get any script to fire from this rule. I added a script to change the message to plain text, it also won't run. My security settings were on "warning for signed macros, disable unsigned macros" I tried setting it to "warnings for all macros" and to "no security check" neither of which helped. I've set it back to "warnings for all". It did work yesterday, nothing's changed as far as I know. "Sue Mosher [MVP]" wrote: Does other VBA code run? Have you checked your macro security setting? "Dawn" wrote in message ... I created a rule that looks for certain conditions in the email, and then runs a script. Worked lovely yesterday. This morning, it will not run. Any suggestions for troubleshooting why? [BTW, Sue Mosher helped me out with the same script yesterday (thanks!) but thought I'd start a new post since this is a different problem I'm having.] I think I've narrowed it down to a problem with the script itself not running, because I tried copying the rule, and then instead of having it run the script, had the rule just forward the message to myself again. This worked fine. My other rules seem to be working fine. The script is saved in the ThisOutlookSession window, and all looks fine as far as I can tell, it's all still there. I did try making some changes to the script itself this morning before testing the rule, but when it didn't work, I changed everthing back to original script and it still doesn't work. Also tried closing & reopening Outlook, and also restarting the whole darn computer. This is the first time I've ever tried running scripts from rules -- is this a tempremental operation perhaps? Thanks for any ideas. |
#6
|
|||
|
|||
![]()
FWIW, there are no "scripts" in VBA. It's a bad terminology choice on
Microsoft's part. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Dawn" wrote in message ... Thanks, Macro security did turn out to be the problem. (I didn't understand the difference between a script and a macro, AND I didn't know I needed to restart to get the settings change to take effect.) (now... guess I have to figure out how to digitally sign the script, or put up with that warning box!) Thanks for your help, appreciate it! "Sue Mosher [MVP]" wrote: We already know from your description that the rule script isn't running, but what about a simple VBA macro? FYI, you must restart Outlook after changing the macro security setting or the new setting won't take effect. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Dawn" wrote in message news ![]() Hi Sue -- it seems I can't get any script to fire from this rule. I added a script to change the message to plain text, it also won't run. My security settings were on "warning for signed macros, disable unsigned macros" I tried setting it to "warnings for all macros" and to "no security check" neither of which helped. I've set it back to "warnings for all". It did work yesterday, nothing's changed as far as I know. "Sue Mosher [MVP]" wrote: Does other VBA code run? Have you checked your macro security setting? "Dawn" wrote in message ... I created a rule that looks for certain conditions in the email, and then runs a script. Worked lovely yesterday. This morning, it will not run. Any suggestions for troubleshooting why? [BTW, Sue Mosher helped me out with the same script yesterday (thanks!) but thought I'd start a new post since this is a different problem I'm having.] I think I've narrowed it down to a problem with the script itself not running, because I tried copying the rule, and then instead of having it run the script, had the rule just forward the message to myself again. This worked fine. My other rules seem to be working fine. The script is saved in the ThisOutlookSession window, and all looks fine as far as I can tell, it's all still there. I did try making some changes to the script itself this morning before testing the rule, but when it didn't work, I changed everthing back to original script and it still doesn't work. Also tried closing & reopening Outlook, and also restarting the whole darn computer. This is the first time I've ever tried running scripts from rules -- is this a tempremental operation perhaps? Thanks for any ideas. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
running SCANPST in a BAT file or script | Andrew Hamilton | Outlook - General Queries | 12 | March 2nd 09 01:54 PM |
How to setup a rule to forward rule in Outlook (xp or 2003) to forward emails from a certain domain when app isnt running? | KingCronos | Outlook - General Queries | 7 | November 15th 06 12:22 PM |
Rule 'run a script' not running my script | [email protected] | Outlook and VBA | 3 | May 30th 06 01:09 PM |
Problem running a VBA script from an Outlook rule | Olivier Langlois | Outlook and VBA | 5 | March 16th 06 10:03 PM |
Problem running a VBA script from an Outlook rule | Olivier Langlois | Add-ins for Outlook | 5 | March 16th 06 10:03 PM |