I recently installed SolidWorks 2014. The attached macro works fine in 2012 but gives an error in 2014. All my references are correct. The first error says that the code has to be updated to work with 64 bit systems. I think I corrected that by adding PtrSafe in the correct position. However, when the macro is reset and run again I get an error message: "Could not load an object because it is not available on this machine." Then it gives a runtime error 424.