In Microsoft Excel, MAPI is hosted by the Microsoft Visual Basic®, Applications Edition language. Microsoft Excel/Visual Basic for Applications actually provides some very basic mail services within the Microsoft Excel object model, specifically:
More complex requirements can be met by using the power stored in the following:
These two DLLs provide the full set of MAPI functions which can be declared within a Visual Basic for Applications module. In addition, there are a set of Visual Basic for Applications routines that can be used to better integrate MAPI with the Microsoft Excel–provided mail methods and properties.
The full set of declarations and support routines are provided and described in the Microsoft Excel sample application described later in the paper.