You can write Visual Basic for Applications (VBA) scripts for any picture, toolbar button, schedule, or DeltaV Operate object. Using VBA gives you complete control over your process automation solution because it lets you create custom scripts and automate DeltaV Operate for your needs.
You can begin writing scripts by displaying the Visual Basic Editor (VBE). VBE provides access to all the available methods, properties, and events for your objects.
You can display VBE in many ways, such as by selecting Visual Basic Editor from the WorkSpace menu, right-clicking an object and selecting Edit Script from the context menu, and creating a schedule and clicking VB Editor from the Add Event Entry or Add Timer Entry dialog box.
To learn how to use VBE, refer to its online help. To learn how to write scripts for DeltaV Operate objects, buttons, pictures, and schedules, refer to the Writing Scripts chapter. For information on DeltaV Operate methods, properties, and events, refer to the Automation Interface online help, available in the Help folder in the system tree.