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

Outlook 2007 - Code in ThisOutlookSession Stops Working



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 7th 07, 02:41 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 2
Default Outlook 2007 - Code in ThisOutlookSession Stops Working

Have a function in ThisOutlookSession which is called by a rule when
email arrives from specific persons. Worked perfectly for awhile, then
stopped working. Reinstalled Outlook, put the function back in, and it
started working again. Now it has stopped again. I think this is the
main clue: I have "Warnings for all macros" checked in Trust Center.
While it was working, I got the warning every time. Now I never get
it. It behaves as if I had "No warnings and disable all macros"
checked instead. Is this some kind of bug in Trust Center? Anyone
know how to check the registry to see what the actual setting is? By
the way, this time before it stopped working I saw a dialog to the
effect that the function had somehow failed, after a triggering email
had arrived. After that, it no longer worked, and no messages are
seen. Don't know if that message was cause or effect.

Ads
  #2  
Old August 8th 07, 06:44 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Outlook 2007 - Code in ThisOutlookSession Stops Working



Probably Outlook has disabled your code after the failure. You can check
that via Help/Disabled Items and see if VBA is listed there.

So, to get it reliably running you need to fix your code.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Tue, 07 Aug 2007 06:41:08 -0700 schrieb :

Have a function in ThisOutlookSession which is called by a rule when
email arrives from specific persons. Worked perfectly for awhile, then
stopped working. Reinstalled Outlook, put the function back in, and it
started working again. Now it has stopped again. I think this is the
main clue: I have "Warnings for all macros" checked in Trust Center.
While it was working, I got the warning every time. Now I never get
it. It behaves as if I had "No warnings and disable all macros"
checked instead. Is this some kind of bug in Trust Center? Anyone
know how to check the registry to see what the actual setting is? By
the way, this time before it stopped working I saw a dialog to the
effect that the function had somehow failed, after a triggering email
had arrived. After that, it no longer worked, and no messages are
seen. Don't know if that message was cause or effect.

  #3  
Old August 8th 07, 01:11 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outlook 2007 - Code in ThisOutlookSession Stops Working

In Outlook 2007, that would be Tools | Trust Center | Add-ins | Disabled Items.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Michael Bauer [MVP - Outlook]" wrote in message .. .


Probably Outlook has disabled your code after the failure. You can check
that via Help/Disabled Items and see if VBA is listed there.

So, to get it reliably running you need to fix your code.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Tue, 07 Aug 2007 06:41:08 -0700 schrieb :

Have a function in ThisOutlookSession which is called by a rule when
email arrives from specific persons. Worked perfectly for awhile, then
stopped working. Reinstalled Outlook, put the function back in, and it
started working again. Now it has stopped again. I think this is the
main clue: I have "Warnings for all macros" checked in Trust Center.
While it was working, I got the warning every time. Now I never get
it. It behaves as if I had "No warnings and disable all macros"
checked instead. Is this some kind of bug in Trust Center? Anyone
know how to check the registry to see what the actual setting is? By
the way, this time before it stopped working I saw a dialog to the
effect that the function had somehow failed, after a triggering email
had arrived. After that, it no longer worked, and no messages are
seen. Don't know if that message was cause or effect.

  #4  
Old August 8th 07, 07:05 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Outlook 2007 - Code in ThisOutlookSession Stops Working



You're right. But at least for the German Outlook it's also available under
the Help menu.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Wed, 8 Aug 2007 08:11:13 -0400 schrieb Sue Mosher [MVP-Outlook]:

In Outlook 2007, that would be Tools | Trust Center | Add-ins | Disabled

Items.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Michael Bauer [MVP - Outlook]" wrote in message

.. .


Probably Outlook has disabled your code after the failure. You can check
that via Help/Disabled Items and see if VBA is listed there.

So, to get it reliably running you need to fix your code.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:

http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Tue, 07 Aug 2007 06:41:08 -0700 schrieb :

Have a function in ThisOutlookSession which is called by a rule when
email arrives from specific persons. Worked perfectly for awhile, then
stopped working. Reinstalled Outlook, put the function back in, and it
started working again. Now it has stopped again. I think this is the
main clue: I have "Warnings for all macros" checked in Trust Center.
While it was working, I got the warning every time. Now I never get
it. It behaves as if I had "No warnings and disable all macros"
checked instead. Is this some kind of bug in Trust Center? Anyone
know how to check the registry to see what the actual setting is? By
the way, this time before it stopped working I saw a dialog to the
effect that the function had somehow failed, after a triggering email
had arrived. After that, it no longer worked, and no messages are
seen. Don't know if that message was cause or effect.

  #5  
Old August 8th 07, 08:06 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outlook 2007 - Code in ThisOutlookSession Stops Working

Great! That's easier for people to find. THanks for pointing thatout.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Michael Bauer [MVP - Outlook]" wrote in message ...


You're right. But at least for the German Outlook it's also available under
the Help menu.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Wed, 8 Aug 2007 08:11:13 -0400 schrieb Sue Mosher [MVP-Outlook]:

In Outlook 2007, that would be Tools | Trust Center | Add-ins | Disabled

Items.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Michael Bauer [MVP - Outlook]" wrote in message

.. .


Probably Outlook has disabled your code after the failure. You can check
that via Help/Disabled Items and see if VBA is listed there.

So, to get it reliably running you need to fix your code.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:

http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Tue, 07 Aug 2007 06:41:08 -0700 schrieb :

Have a function in ThisOutlookSession which is called by a rule when
email arrives from specific persons. Worked perfectly for awhile, then
stopped working. Reinstalled Outlook, put the function back in, and it
started working again. Now it has stopped again. I think this is the
main clue: I have "Warnings for all macros" checked in Trust Center.
While it was working, I got the warning every time. Now I never get
it. It behaves as if I had "No warnings and disable all macros"
checked instead. Is this some kind of bug in Trust Center? Anyone
know how to check the registry to see what the actual setting is? By
the way, this time before it stopped working I saw a dialog to the
effect that the function had somehow failed, after a triggering email
had arrived. After that, it no longer worked, and no messages are
seen. Don't know if that message was cause or effect.

  #6  
Old August 8th 07, 09:29 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 2
Default Outlook 2007 - Code in ThisOutlookSession Stops Working

On Aug 8, 1:44 am, "Michael Bauer [MVP - Outlook]"
wrote:
Probably Outlook has disabled your code after the failure. You can check
that via Help/Disabled Items and see if VBA is listed there.

So, to get it reliably running you need to fix your code.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Tue, 07 Aug 2007 06:41:08 -0700 schrieb :



Have a function in ThisOutlookSession which is called by a rule when
email arrives from specific persons. Worked perfectly for awhile, then
stopped working. Reinstalled Outlook, put the function back in, and it
started working again. Now it has stopped again. I think this is the
main clue: I have "Warnings for all macros" checked in Trust Center.
While it was working, I got the warning every time. Now I never get
it. It behaves as if I had "No warnings and disable all macros"
checked instead. Is this some kind of bug in Trust Center? Anyone
know how to check the registry to see what the actual setting is? By
the way, this time before it stopped working I saw a dialog to the
effect that the function had somehow failed, after a triggering email
had arrived. After that, it no longer worked, and no messages are
seen. Don't know if that message was cause or effect.- Hide quoted text -


- Show quoted text -


Vielen dank, Michael, aber leiter ... that's apparently not the
problem. No items are disabled. Have there been no reports of Outlook
behaving as if a person had checked "...disable all macros?" Thanks
for your help.

  #7  
Old August 9th 07, 06:10 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Outlook 2007 - Code in ThisOutlookSession Stops Working



I don't know that reports, maybe it's the Run-a-Script-Rule that isn't as
stable as it should be.

However, you might check what happens if you set the macro security settings
to Very Low. If that doesn't help you could show your code here, maybe we
find an error.

(As setting commas in German is very different from the English rules, you
did it absolutely correct. Really good

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Wed, 08 Aug 2007 13:29:50 -0700 schrieb :

On Aug 8, 1:44 am, "Michael Bauer [MVP - Outlook]"
wrote:
Probably Outlook has disabled your code after the failure. You can check
that via Help/Disabled Items and see if VBA is listed there.

So, to get it reliably running you need to fix your code.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:

http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Tue, 07 Aug 2007 06:41:08 -0700 schrieb :



Have a function in ThisOutlookSession which is called by a rule when
email arrives from specific persons. Worked perfectly for awhile, then
stopped working. Reinstalled Outlook, put the function back in, and it
started working again. Now it has stopped again. I think this is the
main clue: I have "Warnings for all macros" checked in Trust Center.
While it was working, I got the warning every time. Now I never get
it. It behaves as if I had "No warnings and disable all macros"
checked instead. Is this some kind of bug in Trust Center? Anyone
know how to check the registry to see what the actual setting is? By
the way, this time before it stopped working I saw a dialog to the
effect that the function had somehow failed, after a triggering email
had arrived. After that, it no longer worked, and no messages are
seen. Don't know if that message was cause or effect.- Hide quoted text

-

- Show quoted text -


Vielen dank, Michael, aber leiter ... that's apparently not the
problem. No items are disabled. Have there been no reports of Outlook
behaving as if a person had checked "...disable all macros?" Thanks
for your help.

  #8  
Old August 9th 07, 12:03 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outlook 2007 - Code in ThisOutlookSession Stops Working

These symptoms can also come up if another program starts Outlook with no UI. Shutting down Outlook and making sure Outlook.exe is not running usually makes it possible to restart Outlook and get VBA working again.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Michael Bauer [MVP - Outlook]" wrote in message .. .


I don't know that reports, maybe it's the Run-a-Script-Rule that isn't as
stable as it should be.

However, you might check what happens if you set the macro security settings
to Very Low. If that doesn't help you could show your code here, maybe we
find an error.

(As setting commas in German is very different from the English rules, you
did it absolutely correct. Really good

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Wed, 08 Aug 2007 13:29:50 -0700 schrieb :

On Aug 8, 1:44 am, "Michael Bauer [MVP - Outlook]"
wrote:
Probably Outlook has disabled your code after the failure. You can check
that via Help/Disabled Items and see if VBA is listed there.

So, to get it reliably running you need to fix your code.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:

http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Tue, 07 Aug 2007 06:41:08 -0700 schrieb :



Have a function in ThisOutlookSession which is called by a rule when
email arrives from specific persons. Worked perfectly for awhile, then
stopped working. Reinstalled Outlook, put the function back in, and it
started working again. Now it has stopped again. I think this is the
main clue: I have "Warnings for all macros" checked in Trust Center.
While it was working, I got the warning every time. Now I never get
it. It behaves as if I had "No warnings and disable all macros"
checked instead. Is this some kind of bug in Trust Center? Anyone
know how to check the registry to see what the actual setting is? By
the way, this time before it stopped working I saw a dialog to the
effect that the function had somehow failed, after a triggering email
had arrived. After that, it no longer worked, and no messages are
seen. Don't know if that message was cause or effect.- Hide quoted text

-

- Show quoted text -


Vielen dank, Michael, aber leiter ... that's apparently not the
problem. No items are disabled. Have there been no reports of Outlook
behaving as if a person had checked "...disable all macros?" Thanks
for your help.

  #9  
Old August 9th 07, 07:02 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Outlook 2007 - Code in ThisOutlookSession Stops Working



Thanks Sue, I didn't know that.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Thu, 9 Aug 2007 07:03:52 -0400 schrieb Sue Mosher [MVP-Outlook]:

These symptoms can also come up if another program starts Outlook with no

UI. Shutting down Outlook and making sure Outlook.exe is not running usually
makes it possible to restart Outlook and get VBA working again.
 




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
Problem - Outlook 2007 stops working under Vista Y.A Outlook - Installation 18 July 20th 07 10:57 AM
Latest Windows Vista Update stops Outlook 2007 from working, Please help [email protected] Outlook - General Queries 0 June 30th 07 05:42 PM
Problem - Outlook 2007 stops working under Vista Y.A Outlook - General Queries 17 May 18th 07 03:44 PM
Outlook 2007 Instant Search Suddenly Stops Working [email protected] Outlook - General Queries 0 April 23rd 07 06:28 AM
Outlook 2007 stops working on Vista Y.A Outlook - Installation 10 March 31st 07 02:46 AM


All times are GMT +1. The time now is 06:47 PM.


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.