foreach (word.Table tables in doc.Tables) { int r = tables.Rows.Count; for (int i = 1; i <= r; i++) { foreach (word.Cell cell in tables.Rows[i].Cells) { //any code } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)