Solved

Outlook macro: show To-Do Bar

Posted on 2009-05-18
3
811 Views
Last Modified: 2012-08-13
Hi,
i need a VBA Macro script to show the Outlook 2007 To-Do Bar on startup of Outlook, but i don't know how to do this.
Could u help me pls?

regards
mesX
0
Comment
Question by:mesX
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
Antagony1960 earned 250 total points
ID: 24413515
1. Open the VBA window (Alt+F11).
2. In the Project Explorer (press Ctrl+R if you don't see it) drill down to "Project...|Microsoft Office Outlook Object|ThisOutlookSession"
3. Right-click ThisOutlookSesion and select "View Code" from the context menu.
4. Paste in the attached code.
5. Save your work and close VBA

Now, whenever Outlook is started up it should open the To Do Bar.
Private Sub Application_Startup()
Dim myOlExp As Outlook.Explorer
    Set myOlExp = Application.ActiveExplorer
    myOlExp.ShowPane olToDoBar, True
    Set myOlExp = Nothing
End Sub

Open in new window

0
 

Author Closing Comment

by:mesX
ID: 31582533
Works perfect! Thx!
0
 
LVL 11

Expert Comment

by:Antagony1960
ID: 24413821
Glad to have helped. :-)
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question