Add Custom Menus and Menu Items to Outlook

Outlook 2007 brought with it the all new ‘Ribbon Bar’ which has caused headaches to programmers the world over.

Now, using this code you can create a menu in Outlook. The menu, which contains one item, appears at the top of the application. When you click the menu item, the code displays a message that shows the menu item caption.

Read More

Outlook VBA: Extract IP address from email header

Whilst working in VBA in Microsoft Outlook, I decided to make a function to extract IP addresses from the headers of an email. This is mainly used for reporting spam, but I am sure it could be put to many other good uses!

If you use it, please leave me a comment with details on how you are using it.

Read More