doc.Shape(
//after activating the document foreach(Microsoft.Office.Interop.Word.Range newRange in doc.StoryRanges) { //Pick the object you want to process nrwRange.Select(); //Select the text in the Text Box in Word document. string textInTextBoxFromMSWordDocument = newRange.Text; //pardon the weird variable name. Just trying to be brief and descriptive as possible. }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)