macro swp recover

I have made quick a macro for my needs. I had to put a sleep the computer to change workplace and than open it again solid woks give a message: "A serious error occurred on ope macro file".

Was made  on solid works 2015 no special references. I confirm this macro worked.

Thank you.

SolidworksApi macros