Skip to content

Instantly share code, notes, and snippets.

View Drizin's full-sized avatar

Rick Drizin Drizin

View GitHub Profile
@mavaddat
mavaddat / DrizinEMLimport.vba
Last active July 2, 2024 11:11
Drizin's EML importer for Outlook Desktop
'----------------------------------------------------
' Code by Ricardo Drizin (contact info at http://www.drizin.com.br) @Drizin
'----------------------------------------------------
Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Option Explicit
'---------------------------------------------------------------------
' This method closes ActiveInspectors if any.
' All importing is based on the assumption that the EML
' is opened by shell and we can refer to it through the ActiveInspector