Skip to content

Instantly share code, notes, and snippets.

@weipah
Created July 27, 2012 08:18
Show Gist options
  • Save weipah/3186812 to your computer and use it in GitHub Desktop.
Save weipah/3186812 to your computer and use it in GitHub Desktop.
Get full path from email in Outlook 2010
Sub Pfad_anzeigen()
Dim ordner As Outlook.MAPIFolder
Dim ordnerPfad As String
Set ordner = Application.ActiveExplorer.Selection.Item(1).parent
ordnerPfad = ordner.Name
Do Until ordner.parent = "Mapi"
Set ordner = ordner.parent
ordnerPfad = ordner.Name & "\" & ordnerPfad
Loop
MsgBox ordnerPfad
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment