I am getting issue like this "Item with specified name does not exist."
my code
Selection wordsec = Globals.ThisAddIn.Application.Selection;
if (sTextSz == "10")
{
object Text10 = "TableText10";
wordsec.set_Style(ref Text10);
}
else if (sTextSz == "9")
{
wordsec.set_Style("TableText9");
}
else
{
wordsec.set_Style("TableText8");
}
Please anyone send me the code in VSTO word
Abhilash J APosted Jun 28, 2017, 2:23 AM
chetan AllipurPosted Jun 28, 2017, 2:09 AM
Abhilash J APosted Jun 28, 2017, 2:07 AM
chetan AllipurPosted Jun 28, 2017, 12:25 AM
Nilesh ShahPosted Jun 27, 2017, 10:37 AM
Abhilash J APosted Jun 27, 2017, 9:55 AM
2. What line of code causes the error?
Help us help you.
Rajkiran SwainPosted Jun 27, 2017, 9:18 AM