I am using this code to get and minimize all open Word documents.
Word.Application wordApp = new Word.Application();
Word.Documents docs = wordApp.Documents;
wordApp.ScreenUpdating = true;
wordApp.WindowState = Word.WdWindowState.wdWindowStateMinimize;
But documents list is empty despite the fact that I have open Word 2010 documents in Windows 7. Also minimization is not working.
How can I get and minimize all open Word documents?