Last active
October 23, 2022 12:05
-
-
Save samirsaci/ba72b760f0ea2ebe63357bb91475565c to your computer and use it in GitHub Desktop.
Email Back-Up - Init
This file contains hidden or 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 SaveMSG_as_HTML() | |
| Application.ScreenUpdating = False | |
| 'Initiliaze Parameters | |
| Dim olMsg As MailItem | |
| Dim strPath As String | |
| Dim strMsg As String | |
| Dim strHTML As String | |
| Dim Sender, Received_Time As String | |
| Dim ID As Integer | |
| ID = 1 | |
| 'Path In | |
| strIn = "C:\InFolder" | |
| 'Path Out | |
| strOut = "C:\OutFolder" | |
| 'Target File Extension (must include wildcard "*") | |
| myExtension = "*.msg*" | |
| 'Target Path with Ending Extention | |
| myFile = Dir(strIn & myExtension) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment