Re: Outlook 2k3: VBA will not start



I shut down the computer and then started again. When I started Outlook, none
of the VBA kicked in. It is just a simple MsgBox in the Application_Startup
sub. Please confirm I don't need to compile it or anything. The code sits in
the code window (Alt+F11) and is still there when I restart. So it should run
shouldn't it?
Graham

"Sue Mosher [MVP-Outlook]" wrote:

Another possible cause of these symptoms is that Outlook is never really shutting down between sessions. If you restart Windows, do you get the same results?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Graham Anderson" <Graham Anderson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:741D3AAE-9254-43AE-9940-3A4DDB5BFF1D@xxxxxxxxxxxxxxxx
I just found I had this same problem and I checked the Help..About.. and
nothing was disabled. My problem is that VBA doesn't seem to get started or
be recognized. I have attempted to re-install the Shared VBA part of MS
Office, as directed in the Help for Outlook, but it doesn't seem to want to
install (remains a white cabinet, not a grey one). Any thoughts?
Graham

"Sue Mosher [MVP-Outlook]" wrote:

Did you check Help | About Microsoft Office Outlook | Disabled Items?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Chuck Tremain" <ChuckTremain@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:E552CC6F-E0DB-47F5-9C4A-B70F4FF13657@xxxxxxxxxxxxxxxx
I have two PCS: at work: Win/2000 running Office/2000... at home: Win/XP-Pro
running Office/2003. My problem is with my home Office/2003 and specifically
Outlook/2003.

I have written a visual basic macro on my "work" PC for Outlook/2000.
Please don't tell me how stupid I was... but I assumed that Outlook/2003
would handle the Outlook/2000 VbaProject.OTM in much the same way Word
2000/2003 accesses Normal.dot. Outlook/2003 doesn't.

This is what I did: I copied the Outlook/2000 VbaProject.OTM into the
Outlook/2003 directory at C:\Documents and Settings\Chuck\Application
Data\Microsoft\Outlook. Outlook/2003 started-up just fine. I accessed the
visual basic code without problem. I exited Outlook/2003 without any errors.

However, when I came back to my Outlook/2003 module and started-up the
visual basic editor - nothing happened. I click on the option Tools --->
Macro ---> Visual Basic Editor and nothing happens. Period. Alt+F8 is dead
and Alt+F11 does nothing, either.

I changed the name of VbaProject.OTM to VbaProject.SAVOTM, clicked on the VB
Editor, and still nothing happens.

All other options of Outlook/2003 work just fine... it is just that I cannot
start the VB editor, nor do I get the Tools ---> Macro ---> Macros dialogue
box.

How do I fix it????
If I need to Add/Remove Outlook and then do a complete reinstall, what do I
need to do to preserve my existing folders/contacts/etc????

By the way I did run the "Detect and Repair" option off of the CD. There
was no change in the way the VB Editor responded.

Many thanks!

Chuck Tremain

--
Chuck Tremain


.



Relevant Pages

  • Re: determine encryption?
    ... It is very small and is the only one: Remember Outlook 2002 VBA not Outlook Express.: ... Public Sub TestMail ... This email and Outlook 2002 VBA are not on good terms. ... If I don't this encryption breaks VBA and so my script rule. ...
    (microsoft.public.security)
  • Re: Parsing data
    ... write VBA to parse the data and insert it directly to an Access table ... Access or Outlook, using Automation, which allows VBA to control another ... If you were writing the VBA code in Access, your code would start Outlook, ... The other factor to consider is where the emails are in Outlook and what you ...
    (microsoft.public.access.queries)
  • Re: Memory does not decrease
    ... I need to programmatically export items (Outlook Custom Forms, ... I need OL2003 VBA code because I must avoid security warnings when I use ... Dim olApp As Outlook.Application ... Set olItem = colItems.GetFirst ...
    (microsoft.public.office.developer.outlook.vba)
  • RE: How can I add [SEC=UNCLASSIFIED] to the subject line of all ne
    ... Anyway, to get this to work for you, create a new Class in your Outlook VBA ... 'Private Sub Application_Startup ... Set objMailItem = Inspector.CurrentItem ...
    (microsoft.public.outlook.program_vba)
  • Re: How do I by-pass the security when automatically emailing in E
    ... And Redemption is one way around the nagging security issues of Outllok. ... > you will get "Outlook" even if you do not define the Application variable ... > script in its own VBA editor). ... > Not to be rude, but since this is a developers newsgroup, it is assumed ...
    (microsoft.public.outlook.program_vba)