A family of Microsoft word processing software products for creating web, email, and print documents.
To make code more understandable, try to limit it to one command or statement per line.
You can paste code here and if long statements, can use the Code Block instead of Standard formatting.
It appears that the "object" being referred to is the fetched .docx file.
What happens if you first open that file and then use the method.
(I am far from a vba expert. Someone else may come along with better suggestions.)