Upgrading and migrating > Converting encyclopedias to current version > Changes to Microsoft Visual Basic Application macros > ISAImf objects
  
ISAImf objects
Existing macros that use the SA2001.ISAImf object must have their Set statement changed to prevent a `Type mismatch' run-time error, as follows:
If the existing macro had code as follows:
Dim imfSA As SA2001.ISAImf
..
Set imfSA = SA2001.Application
...change it to the following for version 9:
Dim imfSA As SA2001.ISAImf
..
Set imfSA = appSA.Interface("ISAImf")
See also
Changes to Microsoft Visual Basic Application macros