Caption Property Example
This example displays the caption for each open document window.
With Application.Windows For w = 1 To .Count MsgBox "Window " & w & " contains " & .Item(1).Caption Next End With