An implementation of Visual Basic that is built into Microsoft products.
Hello @DPA ,
It is possible that you are using classic Outlook, where setting up a VBA project has a few unique steps compared to other Office applications.
It might be beneficial to first ensure the Developer tab is enabled to access the Visual Basic environment. You can do this by navigating to File > Options > Customize Ribbon and checking the "Developer" box on the right side. Once the tab is visible, you can click the "Visual Basic" button to open the Visual Basic Editor.
Regarding how to create a project, Outlook works differently from applications like Excel or Access. Outlook only supports a single background VBA project named "Project1" (stored as VbaProject.OTM). This project is automatically provided for you, so you do not need to create a new project file from scratch. You simply add your modules and forms into this existing environment.
To better understand the Project windows (such as the Project Explorer and Properties window) and their inter-relationships, I suggest reviewing these specific documentation articles. They provide a great overview of the interface and setup process:
- Getting started with VBA in Office
- Using Visual Basic for Applications in Outlook
- Run in Developer Mode in Outlook
As a quick side note, it is worth mentioning that the "New Outlook for Windows" currently does not support VBA. The steps and documentation above apply to the classic desktop version of Outlook.
If you found my response helpful or informative, I would greatly appreciate it if you could follow this guide as it may help other users encountering the same issue find the solution more easily.
Thank you.