Global variable initialization

Whan starting a solidworks macro

I would like to make public swApp As SldWorks.SldWorks

The reason is i do not want to wright this all over the place

Can i do this?

If so were can i put it

Thanks

Jamie lill

SolidworksApi macros