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

Troubleshooting rule/script not running



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 16th 09, 07:01 PM posted to microsoft.public.outlook.program_vba
Dawn[_2_]
external usenet poster
 
Posts: 6
Default Troubleshooting rule/script not running

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  
Old July 16th 09, 07:04 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Troubleshooting rule/script not running

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  
Old July 16th 09, 07:37 PM posted to microsoft.public.outlook.program_vba
Dawn[_2_]
external usenet poster
 
Posts: 6
Default Troubleshooting rule/script not running

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  
Old July 16th 09, 07:39 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Troubleshooting rule/script not running

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  
Old July 17th 09, 12:05 AM posted to microsoft.public.outlook.program_vba
Dawn[_2_]
external usenet poster
 
Posts: 6
Default Troubleshooting rule/script not running

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  
Old July 17th 09, 03:35 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Troubleshooting rule/script not running

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
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
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


All times are GMT +1. The time now is 09:04 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.