All the basic libraries are loaded by default, certainly if you're using the VBA DIR command. Any error message?

As a check, you can use the Tools/References menu in the VBA editor to check for anything listed as 'MISSING'.

And define 'crash' - an error message?, Excel closes? Blue screen of Death ...???