TableGridlines Property
True if table gridlines are displayed. Read/write Boolean.
expression.TableGridlines
expression Required. An expression that returns a View object.
Example
This example displays table gridlines in the active window.
ActiveDocument.ActiveWindow.View.TableGridlines = True
This example shows table gridlines for the panes associated with window one in the Windows collection.
For Each myPane In Windows(1).Panes
myPane.View.TableGridlines = True
Next myPane