how can I open an outlook folder directly from its path.
I need to open a folder that way down in the hiearchy.
when I try the code below, it says it can't find it.
VB Code:
Private Sub CreateFolder() Dim olfolders As Outlook.Folders Dim fldr As MAPIFolder Dim olapp As New Outlook.Application Dim i As Long Set olfolders = olapp.GetNamespace("MAPI").Folders Set fldr = olfolders.Item("Public folders\All Public Folders\Shared private Folders\Outlook Resource Calendars\Equipment\Mass Spectrometers") Debug.Print fldr.Name
End Sub




Reply With Quote