|
|
| Next: Can't Open Distribution List: Not Enough Memory E.. |
| Author |
Message |
Dawn External

Since: Jul 16, 2009 Posts: 3
|
Posted: Thu Jul 16, 2009 10:01 am Post subject: Troubleshooting rule/script not running Archived from groups: microsoft>public>outlook>program_vba (more info?) |
|
|
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. |
|
| Back to top |
|
 |
Sue Mosher [MVP] External

Since: Mar 19, 2009 Posts: 41
|
Posted: Thu Jul 16, 2009 1:04 pm Post subject: Re: Troubleshooting rule/script not running [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
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" <dawn DeleteThis @NOSPAMstofoco.com> wrote in message
news:5601A4DA-F6FD-41F9-837E-37CF490DABBC@microsoft.com...
>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. |
|
| Back to top |
|
 |
Dawn External

Since: Jul 16, 2009 Posts: 3
|
Posted: Thu Jul 16, 2009 1:04 pm Post subject: Re: Troubleshooting rule/script not running [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
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" <dawn.DeleteThis@NOSPAMstofoco.com> wrote in message
> news:5601A4DA-F6FD-41F9-837E-37CF490DABBC@microsoft.com...
> >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.
>
>
> |
|
| Back to top |
|
 |
Sue Mosher [MVP] External

Since: Mar 19, 2009 Posts: 41
|
Posted: Thu Jul 16, 2009 1:39 pm Post subject: Re: Troubleshooting rule/script not running [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
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" <dawn.RemoveThis@NOSPAMstofoco.com> wrote in message
news:D394F055-AE4A-4063-9C37-456218E46307@microsoft.com...
> 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" <dawn.RemoveThis@NOSPAMstofoco.com> wrote in message
>> news:5601A4DA-F6FD-41F9-837E-37CF490DABBC@microsoft.com...
>> >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.
>>
>>
>> |
|
| Back to top |
|
 |
Dawn External

Since: Jul 16, 2009 Posts: 3
|
Posted: Thu Jul 16, 2009 3:05 pm Post subject: Re: Troubleshooting rule/script not running [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
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" <dawn.DeleteThis@NOSPAMstofoco.com> wrote in message
> news:D394F055-AE4A-4063-9C37-456218E46307@microsoft.com...
> > 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" <dawn.DeleteThis@NOSPAMstofoco.com> wrote in message
> >> news:5601A4DA-F6FD-41F9-837E-37CF490DABBC@microsoft.com...
> >> >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.
> >>
> >>
> >>
>
>
> |
|
| Back to top |
|
 |
Sue Mosher [MVP] External

Since: Mar 19, 2009 Posts: 41
|
Posted: Thu Jul 16, 2009 9:35 pm Post subject: Re: Troubleshooting rule/script not running [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
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" <dawn RemoveThis @NOSPAMstofoco.com> wrote in message
news:7B595010-9D1A-4DEE-A09B-2686E47F55A8@microsoft.com...
> 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" <dawn RemoveThis @NOSPAMstofoco.com> wrote in message
>> news:D394F055-AE4A-4063-9C37-456218E46307@microsoft.com...
>> > 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" <dawn RemoveThis @NOSPAMstofoco.com> wrote in message
>> >> news:5601A4DA-F6FD-41F9-837E-37CF490DABBC@microsoft.com...
>> >> >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.
>> >>
>> >>
>> >>
>>
>>
>> |
|
| Back to top |
|
 |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|
|