swp corrupted. Won't open. A serious error occurred on open macro file.

I need to either repair a swp file or at least get the code back. The macro somehow became corrupted and i lost hours of work. Anybody knows how to get it fixed??

SolidworksApi macros