我可以隱藏 Outlook 365 中的內建資料夾嗎?

我可以隱藏 Outlook 365 中的內建資料夾嗎?

我們將 Office365 與桌面 Outlook 用戶端結合使用。有幾個資料夾(RSS 訂閱、寄件匣、垃圾郵件)我不會使用。我不想刪除它們,但是有什麼辦法可以將它們隱藏在資料夾樹中嗎?

答案1

是的,有幾種方法 - 但沒有一種方法是直接的。

您可以使用 MFCMAPI 這樣的工具
http://mfcmapi.codeplex.com/

MFCMAPI 將允許您設定資料夾的隱藏屬性。

您可以使用 VBA(按 ALT+F11 開啟 VBA 編輯器)- 選擇您的資料夾並執行以下命令:

Option Explicit

Public Sub HideOutlookFolders()

Dim oOutlookFolder As Outlook.Folder
Dim oPropertyAccessor As Outlook.propertyAccessor
Dim PropName, Value, FolderType As String


PropName = "http://schemas.microsoft.com/mapi/proptag/0x10F4000B"
Value = True

Set oOutlookFolder = Application.ActiveExplorer.CurrentFolder
Set oPropertyAccessor = oFolder.propertyAccessor

oPropertyAccessor .SetProperty PropName, Value

Set oOutlookFolder = Nothing
Set oPropertyAccessor = Nothing
End Sub

原始來源: http://www.slipstick.com/outlook/delete-outlooks-default-folders/

相關內容