I have a table in Word document. I want to able to select a row or column or only a cell or whole table to modify. now I can select the complete table and modify all cells, but I can not select a single row or column or cell. I can not create a range for this purpose. below my code for select whole of table:
if (WordAddIn.Config.ApplicationConfig.TemplateLanguage.ValueToShare == true)
{
for (int i = 1; i <= WordManager.Selection.Tables[1].Rows.Count; i++)
{
for (int j = 1; j <= WordManager.Selection.Tables[1].Columns.Count; j++)
{
...
}
}
else
{ }
}
}
Thoughts?