Set worksheet.hide_gridlines(2) to certain range of cells
As far as I know that isn't possible in Excel to hide gridlines for a range. Gridlines are either on or off for the entire worksheet.
As a workaround you could turn the gridlines off and then add a border to each cell where you want them displayed.
As a first step you should figure out how you would do what you want to do in Excel and then apply that to an XlsxWriter program.
Im creating Excel file from pandas and I'm using worksheet.hide_gridlines(2)
the problem that all gridlines are hide in my current worksheet.I need to hide a range of cells, for example A1:I80.How can I do that?