Macro VBA loss :(

I have a question regarding an old VBA macro for SolidWorks that I wrote myself a few years ago. For a long time, I didn’t need to edit it – it worked flawlessly, so there was no reason to change anything. Now I wanted to make a small adjustment, but the VBA editor is asking for a password that I no longer remember. 😕

I probably set the password “just in case” back then, but over the years I never had to open the code, so I never had a chance to enter it (and unfortunately, I didn’t save it anywhere – a stupid mistake on my part).
Unfortunately, I don’t have an unprotected copy, and the code is fairly complex, so it would be a shame to rewrite it all from scratch.

Has anyone experienced a similar situation and knows if there’s a way to regain access to your own code?