Gridlines in excel through interop

calendar_today Asked Jan 30, 2009
thumb_up 8 upvotes
history Updated April 16, 2026

Question posted 2009 ยท +5 upvotes

Any idea where the setting is hiding for turning gridlines off while using excel 2003 from interop?

Accepted answer +8 upvotes

DisplayGridlines is a method on an Excel Window object. For example:

ActiveWindow.DisplayGridlines = true

Top excel Q&A (6)

+8 upvotes ranks this answer #106 out of 167 excel solutions on this site .