Export VBA
- Last UpdatedNov 14, 2022
- 2 minute read
Depending on the version of PI ProcessBook you are using, you may need to install the VBA Install Kit for PI ProcessBook, which is available on the OSIsoft Customer Portal, to export the VBA code.
When migrating a display that contains VBA code modules, the migration utility flags
that display as Can be Partially Migrated and shows a VBA issue tag,
. VBA code is not supported in AVEVA PI Vision displays, and displays are only migrated without the VBA code. You can investigate
the impact of migrating that display without the VBA code, by exporting the code to
a .vba file and making a determination after your review.
Note: There can be multiple VBA modules in a single display. Export VBA exports VBA for all displays in the analysis results.
-
Select a display that has been identified as Can be Partially Migrated and has an issue tag indicating that the display contains VBA code (
).
-
Click Export VBA at the bottom of the Analysis Results pane.
The Export completed message is displayed.
-
Click View Reports and select Open Reports Folder to view the associated .vba file.
-
Click OK.