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

Macros won't run unless I open the VBA editor



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 16th 08, 09:42 PM posted to microsoft.public.outlook.program_vba
Carlos Nunes-Ueno
external usenet poster
 
Posts: 2
Default Macros won't run unless I open the VBA editor

I'm using Outlook 2003 with no Exchange server, just a POP/SMTP account.
I've got a small procedure running off ItemSend that checks for blank
subject lines and missing attachments. The problem is that it never runs
unless I open the VBA editor first.

I have tried setting the Macro Security to Medium and I have created a
digital certificate for myself using selfcert and signed the Macro with it.
No dice. Outlook seems to not even know about the macro unless I open the
VBA editor.

What could be causing this behavior and is there a way to address it?

Thanks,

Carlos
Ads
  #2  
Old July 16th 08, 11:22 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Macros won't run unless I open the VBA editor

I would try putting a simple Debug.Print statement in the Application_Startup
event handler. That might be enough to get VBA to "wake up" when Outlook
starts. If not, look for some application that might be starting Outlook
without UI, such as a PDA sync utility.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"Carlos Nunes-Ueno" wrote:

I'm using Outlook 2003 with no Exchange server, just a POP/SMTP account.
I've got a small procedure running off ItemSend that checks for blank
subject lines and missing attachments. The problem is that it never runs
unless I open the VBA editor first.

I have tried setting the Macro Security to Medium and I have created a
digital certificate for myself using selfcert and signed the Macro with it.
No dice. Outlook seems to not even know about the macro unless I open the
VBA editor.

What could be causing this behavior and is there a way to address it?

Thanks,

Carlos

  #3  
Old July 16th 08, 11:50 PM posted to microsoft.public.outlook.program_vba
Carlos Nunes-Ueno
external usenet poster
 
Posts: 2
Default Macros won't run unless I open the VBA editor

I added the debug.print and nothing changed. So I disabled the splash
screen for ClamWin and that did the trick. I don't know why that should
have anything to do with anything, but there you are.

Thanks for the help,

Carlos

=?Utf-8?B?U3VlIE1vc2hlciBbTVZQLU91dGxvb2td?=
wrote in :

I would try putting a simple Debug.Print statement in the
Application_Startup event handler. That might be enough to get VBA to
"wake up" when Outlook starts. If not, look for some application that
might be starting Outlook without UI, such as a PDA sync utility.


 




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
Cannot access macros, security settings or VBA editor in OL 2003 Boxington Headmaker Outlook - General Queries 1 September 12th 07 07:28 AM
Cannot access macros, security settings or VBA editor in OL 2003 Boxington Headmaker Outlook and VBA 2 September 12th 07 07:27 AM
Cannot access macros, security settings or VBA editor in OL 2003 Boxington Headmaker Outlook - General Queries 0 September 10th 07 09:15 AM
VBA Editor will no longer open Robbo Outlook and VBA 2 August 3rd 07 10:12 AM
Macros Broken, VB Editor doesn't open [email protected] Outlook and VBA 2 November 20th 06 06:14 PM


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