Window.GridlineColor (Excel) Returns or sets the gridline color as an RGB value. ActiveWindow.GridlineColor = RGB(0,0,255)'blue