Since installing 2006 some macros don't work. I stepped through and the problems start right here: Set swApp = CreateObject("SldWorks.Application") When I step past this line swApp = nothing.