
July 17th 09, 03:35 AM
posted to microsoft.public.outlook.program_vba
|
|
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.
|