Why does my VBA form not show and auto run one of the function?

I have a user form, but it does not show. But the macro run and it run drawing function. Any idea? Please see the attached code.

SolidworksApi macros