VBA Files
- Last UpdatedJul 18, 2023
- 1 minute read
VBA code scripts can be saved to file, can include comments, statements, various representations of numbers, can handle many different data types, and can have multiple and nested control structures. However, VBA is primarily provided with Plant SCADA to interact with ActiveX objects.
VBA files are ASCII text files stored in ANSI format with a BAS extension (filename.BAS), and are known as file modules.
VBA file modules can be viewed and edited in any text editor program. They can be used in Plant SCADA, but must be saved as 'text with linebreaks' with a '.BAS' file extension or Plant SCADA will not be able to open the file.