Outlook icon

Get the Path of any Outlook Item

path

Over on VBA Express someone asked (in a roundabout way) how to determine the folder path for a selected message.

Continue Reading: Get the Path of any Outlook Item »

Outlook iconVBA icon

Look for and create folders programmatically in Outlook

If you are writing VBA code for Outlook, you might have a need to check for an existing folder, and create it if it doesn't exist.

Here are two functions that can assist. I wrote one that checks for an existing folder, and returns TRUE if it exists. It assumes a specific folder hierarchy, so you'll need to adjust it if the folders you are working with are on a different level. Works in Outlook but can be adapted for Excel use as well.

Continue Reading: Look for and create folders programmatically in Outlook »

Site last updated: February 9, 2012