Reading VBA Information from MPP file

Aspose.Tasks for C++ API provides support for reading VBA information from MPP file. This includes working with:

  • VBA Information.
  • Modules information contained in the project.
  • References Information stored in the project.

The VbaProject class is the main class for reading the VBA information from the project file. This further has Modules and References collection for reading further details of the VBA project file. This article demonstrates the usage of all these with the help of code samples.

Reading VBA Project Information

The following code example demonstrates how to read VBA Project Information with the help of VbaProject and Project class.

Reading References Information from VBA

The following code example demonstrates how to read VBA References Information from VBA with the help of VbaProject, Project and VbaReference class

Reading Modules Information from VBA

The following code example demonstrates how to read modules information from VBA with the help of VbaProject, Project and IVbaModule class

Reading Module Attributes Information from VBA

The following code example demonstrates how to read modules attributes from VBA with the help of VbaProject, Project and IVbaModule class