I haven't read through all your code, but since it gives up after 9, are theworkbooks being closed after being saved as?