This code worked in office 2010 and office 2007 but both on windows 7.why not in windows 10 please help