Working with VBA
Microsoft Project (MPP/XML) files may contain VBA (Visual Basic for Applications) macros that help automate project management tasks by interacting with the project object model.
With Aspose.Tasks for .NET, developers can programmatically:
- Read VBA information, modules, and references.
- Add new VBA modules (procedural or class) with custom source code.
- Edit the source code of existing VBA modules.
This functionality allows extending project automation directly inside MPP files without the need for Microsoft Project.
VBA Management Topics
- Reading VBA Information from MPP File Learn how to extract VBA project details, including modules and references, from an MPP file.
- Adding VBA Module See how to add new procedural or class modules into an existing VBA project.
- Editing VBA Module Source Code Discover how to update and maintain the source code of existing VBA modules.
(More topics will be added as the VBA documentation expands, such as working with module contents, security, or exporting VBA details.)
Conclusion
VBA automation is a powerful way to extend Microsoft Project functionality. Working with VBA in Microsoft Project files is essential when analyzing automation scripts or ensuring compliance with organizational policies. Aspose.Tasks for .NET provides the ability to programmatically access VBA data stored inside MPP/XML files, making it easier to audit, document, or integrate VBA information into enterprise solutions. This section serves as a hub for all VBA-related documentation in Aspose.Tasks for .NET.