Hi,
Please check it
Microsoft.Office.Interop.Word.Application objWord;
objWord= (Microsoft.Office.Interop.Word.Application)System.Runtime.InteropServices.Marshal.GetActiveObject("Word.Application");
for (int i = 0; i < objWord.Windows.Count; i++)
{
object a = i+1;
Window objWin = objWord.Windows.get_Item(ref a);
MessageBox.Show(objWin.Caption);
}
objWin=null;
regards
Ankit