how to turn off gridline at the file level?

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

I am trying to hide gridlines from view. I know I can do

excelApp.ActiveWindow.DisplayGridlines = false;

however, this is NOT working for me because I am programmatically
generating an excel report. I don't have "ActiveWindow"
(excelApp.ActiveWindow is null) becauase everything is running as a
background process.

In my case, Is there anyway to hide gridlines?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top