本文转自:http://www.outlookcode.com/d/code/quarexe.htm
To quarantine application file attachmentsThis Outlook VBA code sample monitors the Inbox folder for new items, looks for messages with attached files with the extensions listed in the USER OPTIONS section, and moves such messages to an Inbox\Quarantine folder for later review, creating the folder if it doesn‘t exist. Place this code in the ThisOutlookSession module so that it runs when Outlook starts. |
|
[转]VBA Check if an outlook folder exists; if not create it
原文:https://www.cnblogs.com/freeliver54/p/10816314.html