PROBLEM RECORDING MACRO SOLIDWORKS

Hi everybody!

I have a problem recording Solidworks macros. When I start to record any task, the only text that appears in the recorded macro is this:

Sub main()

Set swApp = Application.SldWorks

Set Part = swApp.ActiveDoc

End Sub

The problem is that previously (one month ago) I could record any task without any problem. Is there any solution?

Thank you a lot!

SolidworksApi/macros