Saving to .LXO from Macro

Hello,

I have tried to save current document as .LXO from vba-macro without success.

Has anyone managed to do this and could share code?

-Mike

SolidworksApi macros