Serious error on open

Hello all,

I started using the API to write some macros and now twice today solid works give me a message saying "A serious error on open" and my macro will not open in the vbe and solid works crashes. this also happened last week and I sent the file to my VAR and they recovered it.

Thanks,

Daniel

SW 2016, WIN7

SolidworksApi macros