SolidWorks 2009 Constant tye library

I have a marco that will not run until I open the macro inthe VB editor and go to Tools References and select SolidWorks 2009Constant type library. This works until I close SW and then I haveto do it all over again.

How do I get this to work with out having to do this everytime Istart SW?
SolidworksApi macros