Issue #199 resolved
Anonymous created an issue

Is there an option to hide gridlines?

I tried ws.show_gridlines = False, and it has no affect on the output.

Comments (3)

  1. CharlieC

    This is now possible in version 2.2 by setting the showGridlines attribute of a worksheet's sheet_view.

    from openpyxl import Workbook
    wb = Workbook()
    ws = wb.active
    ws.sheet_view.showGridLines
    True
    ws.sheet_view.showGridLines = False
    wb.save("gridlines.xlsx")
    
  2. Log in to comment