ok, but anyhow it is courios, that you can run the M12 via MDI without any Problem,
and by enabling the Ignore M calls while loading it should not go into the macro.
i have two further ideas to test (without any idea of the real reason):
- rename the M12 to M312 for example
- put additional code into M12
If Not() IsLoading() Then
..your M12 code here
End If
Thomas