
答案1
到目前為止,我發現的唯一可行的解決方案是透過 VBA 獲取路徑,這是我基於在以下位置找到的解決方案vboffice.net, :
Public Sub GetItemsFolderPath()
'Declare/Init Variables
Dim obj As Object
Dim F As Outlook.MAPIFolder
Dim strMsg as String
Set obj = Application.ActiveWindow
'Fetch Path
If TypeOf obj Is Outlook.Inspector Then
Set obj = obj.CurrentItem
Else
Set obj = obj.Selection(1)
End If
Set F = obj.Parent
'Show path and optionally open it:
strMsg = "The path is: " & F.FolderPath & vbCrLf & "Switch to the folder?"
If MsgBox(strMsg, vbYesNo) = vbYes Then
Set Application.ActiveExplorer.CurrentFolder = F
End If
End Sub
答案2
完整路徑?沒有 VBA 可能是不可能的。
圖形使用者介面在舊版 Outlook 中尋找路徑的方法:
- 開啟電子郵件
- 按住SHIFT並CTRL點擊F
- 點選Browse開啟的對話框(或鍵盤上的ALT+ )B
- 檢查新對話框的內容。
來自記憶……有時是片狀的,它儲存在肌肉記憶中