Gridlines in excel through interop

后端 未结 5 515
滥情空心
滥情空心 2021-01-18 06:54

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

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-18 07:28

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

    ActiveWindow.DisplayGridlines = true
    

提交回复
热议问题