Download attachments from specific folder in Outlook

前端 未结 2 1671
余生分开走
余生分开走 2021-01-21 13:31

I am not familiar with vba enough to modify this for my needs.

I need to download the attachments from a specific folder.

I found this example, but I am not su

2条回答
  •  难免孤独
    2021-01-21 14:30

    To open a folder on the same level as your Inbox, open Inbox, then go one level up to its parent, then retrieve your folder by name:

    set MyFolder = Application.Session.GetDefaultFolder(olFolderInbox).Parent.Folders.Item("My Folder Name")
    

提交回复
热议问题