Has nothing to do with this. The documents in my folder are originally in .doc format, and the suffix name has not been changed. And I just changed the .docx in the program to .doc, but the result is still the same, word will be opened very slowly
@movi
Check if your document is opening very slowly~
Too many formats, pictures, external links...
Move the word object outside for~
word=wc.Dispatch('Word.Application')
for path1 in os.listdir(paths):
…………
word.Quit()
You changed .docx to .doc
Check if your document is opening very slowly~
Too many formats, pictures, external links...
Move the word object outside for~