Created
July 27, 2012 08:18
-
-
Save weipah/3186812 to your computer and use it in GitHub Desktop.
Get full path from email in Outlook 2010
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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