View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Joe[_30_] Joe[_30_] is offline
external usenet poster
 
Posts: 1
Default how to turn off gridline at the file level?

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.