I am using C#.net with the component of Ms-Word 2003. I am trying to find the Bold word in paragraph-wise (each para have more that one bold words) and get the current paragraph number. So i used below code for searching which has not worked. It do a search on entire word document instead of a specified paragraph.
My Coding Lines:
using msWord = Microsoft.Office.Interop.Word; //Included Ms-Word Namespace Microsoft Office 11.0 Object Library
int paraCnt = 0;
msWord.Application myWrd; //Create an instance for application and document.
object missing = Missing.Value;
object objFile = @"D:\Test\File.doc";