Quote:Even though I do not receive any error message I am not able to open again the file with this line once has been closed.How do you know the file's not open?
Even though you're not getting an error, there must be some sort of indication.
also, when you do object.quit, does that actually close the file, or just quit the win32com process, leaving the file open.
do you need to do another object.quit after line 25?
finally, which packages are you using (your imports)