Was it running fine on a different version of SolidWorks before you installed SolidWorks 2016? Can you attach the macro so other people can reproduce the error?
-Open it with a different verison of SolidWorks , remove all references and save it .
-Now open with your working version of SolidWorks and re-add the references . It should fix your issue