I'm not sure what the difference between the close and the quit command is, but I would suggest using
excelobject.close
instead of excelobject.quit, just because I haven't had that problem before and it is what I use. It may not work, but it is worth a try