Is there a way to read MS Office document word by word in C#.

I could read the whole stoyr like

doc.ActiveWindow.Selection.WholeStory();
            doc.ActiveWindow.Selection.Copy();
            IDataObject data = Clipboard.GetDataObject();

However then can we use any method using data object to read the ms word documents word by word?

what the difference? or what you'll get when you do that word by word?

you are doing good, after that save the content of the word document into a string variable in then read word by word the content.

String ContentWord = "";
ContentWord = data.GetData(DataFormats.Text).ToString();
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.