Reading VBA Information from MPP File

Aspose.Tasks for Java API provides support for reading VBA information from the 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 example shows how to read VBA Project Information with the help of VbaProject and Project class

Reading References Information from VBA

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

Reading Modules Information from VBA

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

Reading Module Attributes Information from VBA

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