foreach (Microsoft.Office.Interop.Word.Shape shape in Doc.Shapes) { if (shape.Type == Microsoft.Office.Core.MsoShapeType.msoTextBox) { var table = shape.TextFrame.ContainingRange.Tables; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)