If you try the Stop statement, does that change anything?
Have you changed any of the db properties, for instance the AllowBreakIntoCode property? As in
Dim dbs As Database
Set dbs = CurrentDb
with dbs
.Properties("AllowSpecialKeys") = False
.Properties("AllowBreakIntoCode") = False
end with
Alter to true (I think the AllowBreakIntoCode property needs to be set in conjuncture wiht the AllowSpecialKeys property, but I'm not sure.