Without seeing the code, most people will simply be guessing, so be prepared for all sorts of answers. Can a.Doc be set to nothing on exit?