Excel Vba Hide Gridlines

[Solved] Excel Vba Hide Gridlines | Vb - Code Explorer | yomemimo.com
Question : excel vba hide gridlines

Answered by : vastemonde

Private Sub TurnOffGridLines(target As Worksheet) Dim view As WorksheetView For Each view In target.Parent.Windows(1).SheetViews If view.Sheet.Name = target.Name Then view.DisplayGridlines = False Exit Sub End If Next
End Sub

Source : https://stackoverflow.com/questions/40368373/how-can-i-turn-off-gridlines-in-excel-using-vba-without-using-activewindow | Last Update : Thu, 25 Mar 21

Answers related to excel vba hide gridlines

Code Explorer Popular Question For Vb