Window.Caption (Word)

Returns or sets the caption text for the window that is displayed in the title bar of the document or application window.

To change the caption of the application window to the default text, set this property to an empty string ("").


Count = 1 
For Each win In Windows 
 MsgBox Prompt:=win.Caption, Title:="Window" & Str(Count) & _ 
 " Caption" 
 Count = Count + 1 
Next win