Dunno if it still works in 365, but when opening the db try holding the shift key until the db has opened...
In the older versions ( I think ) this used to not run any code... macros etc...