0
I figured it out. I was supposed to make access by using
worksheet1.CellGrid[num1, num].WrapText=true; instead of
worksheet1.CellGrid.get_Item(num1, num).set_WrapText(true);
Thanks! I will close the post immediately
0
Thabks for the feedback Nilesh .
The error says "Severity Code Description Project File Line Suppression State
Error CS0571 'CellGrid.this[int, int].get': cannot explicitly call operator or accessor"
Please have a look at the screenshot below
0
always post error screenshot or other details
I see in your code you are using variables num and num1 in a while loop, but both are assigned value of 0 at start which never changes. I hope your logic regarding these is correct.