Writing scripts

Saving your work

Code, forms, and modules you create with VBA are associated with a picture, toolbar, toolbar category, schedule, Dynamo set, or User Global file within the DeltaV Operate application. Therefore, saving the work you completed in a VBA project only occurs when you save these DeltaV Operate documents.

To save a picture from VBA, choose the Save command from the File menu. This will save any changes that you have made to the picture, as well as to the VBA project.

Note

Toolbar and toolbar category files are saved automatically when you exit DeltaV Operate. If you made changes to the User Global file, DeltaV Operate displays a message box that asks you if you want to save your changes.