Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI ProcessBook to PI Vision Migration Utility

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.

  1. Select a display that has been identified as Can be Partially Migrated and has an issue tag indicating that the display contains VBA code ().

  2. Click Export VBA at the bottom of the Analysis Results pane.

    The Export completed message is displayed.

  3. Click View Reports and select Open Reports Folder to view the associated .vba file.

  4. Click OK.

Related Links
TitleResults for “How to create a CRG?”Also Available in