TableGridlines Property 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