Solved

Outlook macro: show To-Do Bar

Posted on 2009-05-18
3
825 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

734 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