When using loops such as For Each oDoc In Word.Documents / ... / Next oDoc in order to process all open documents in some way, I find that sometimes there are duplicate filenames in the document list and sometimes an open document is missing from the list.

It's easy enough to check that a particular oDoc is not a duplicate, but I am at a loss to know why a document is sometimes missing, what causes it, and how to force Word to refresh the document list. From the user's side, all the open documents are listed correctly in the Windows menu.

Could it be due to some previous macro operation that left the document list corrupted or is it a known Word bug or ...

Anyone got any ideas?