VBA Compatibility

The VBA language provided in Microsoft Office 2000 and later contains a number of improvements to the version used within the Office 97 suite of products. A significant difference is in the use of enumerated types. The Maxsurf automation interface uses many enumerated types to make programming scripts much simpler when using the latest versions of VBA. However, when programming using an older version of VBA, such as used in Office 97, the use of enumerated types is not supported and the enumerated constants must be replaced with their integer value. The enumerated types and their values are summarised in Appendix A of this document.