Loop true all opned word document
Hi all
I want to loop true all opened word documents but my code stays on the first selected file. It also only just loops 2 times even if I have more files opened.
Dim wd As Range
For Each wd In ActiveDocument.Words
wd.Select
MsgBox (wd.Document.Name)
'Do stuff
next wd
|