-1

I am going to write the content to the cells of an excel template using excel object in c#.net.

I have no problem in writing in the cells of the excel it works fine, but while writing the content in the cells of the excel, i can able to view the content writing in the cells.

But I need to restrict not view this action.

Can any one give me an idea about how to resolve this issue?

Please let me know if this is not clear.

Shoe
  • 74,840
  • 36
  • 166
  • 272

1 Answers1

0

If you are asking to hide screen updating, try:

xlApp.ScreenUpdating = false;

At the end, don't forget to turn it back on:

xlApp.ScreenUpdating = true;

Some of the answers to this question may help as well.

Community
  • 1
  • 1
Richard Morgan
  • 7,601
  • 9
  • 49
  • 86