7 cool things you didn't know about Outlook - Microsoft Support
Press ALT + F11 to open the Visual Basic for Applications editor. Click in the top menu and select References .
C:\Program Files (x86)\Microsoft Office\root\Office16\MSOUTL.OLB How to Add the Reference microsoft outlook 16.0 object library dll download
| # | Feature | Description | |---|---------|-------------| | 1 | | Scans existing Office installations to locate msoutl.olb and its dependencies (e.g., outlvba.dll , mapi32.dll ). | | 2 | Redistributable Type Library Pack | Provides a legal, Microsoft-approved developer-only download of just the type library (requires acceptance of Office Redistributable license). | | 3 | Registration Helper | Automatically registers the .olb on the build machine using regtlibv12 (or modern System.Runtime.InteropServices ). | | 4 | NuGet / NPM Package | Wraps the type library into a package that adds COM reference to your project without manual browsing. | | 5 | Version Guard | Detects if Outlook 16.0 is actually installed at runtime and warns if not (since DLL alone cannot send/receive emails). |
Ensure the Outlook feature is not set to “Not Available.” You can run the Office installer, select “Add or Remove Features,” and ensure Outlook is set to “Run from My Computer.” 7 cool things you didn't know about Outlook
While often referred to as a DLL in casual queries, the library is actually contained in an file. File Name : MSOUTL.OLB Standard File Paths : C:\Program Files\Microsoft Office\root\Office16\MSOUTL.OLB
Some search results mention outlook16.0.dll – that is usually a language resource DLL or a helper DLL, not the primary object library. Again, it comes with Office, not as a separate file. | | 2 | Redistributable Type Library Pack
With olMail .To = "someone@example.com" .Subject = "Test" .Body = "Hello from VBA" .Send End With
The library will only exist if the "Classic" Outlook desktop application is installed. The "New Outlook" app and Outlook for Mac do not support the COM object model required for this library. Corrupted Installation:
Do not attempt to download msoutl.olb or related DLL files from third-party "DLL download" websites. These files are highly specific to your exact version of Microsoft Office and can be vectors for malware. Instead, fix this issue by repairing your existing Microsoft Office installation 1.2.3 . What is the Microsoft Outlook 16.0 Object Library?
16.0 (Corresponds to Office 2016, 2019, 2021, and Microsoft 365).