Option Compatible extends Office Basic compiler and runtime, allowing supplemental language constructs to Basic.
This statement must be added before the executable program code in a module.
This option may affect or assist in the following situations:
Option Compatible is required when coding class modules.
Option Compatible
Option Compatible
' With this option the code works, otherwise it causes a compiling error
Sub Main
ä = 10
print ä
End Sub
Statement Option VBAsupport 1 implies Option Compatible statement automatically.