Yes, changing the borders of cells will affect the gridlines. If you change the border of a cell to have no border, the gridline will be removed where that cell borders another cell. Similarly, if you add a border to a cell, a new gridline will be created where it borders another cell.