View.TableGridlines property (Word)

True if table gridlines are displayed. Read/write Boolean.

Syntax

expression. TableGridlines

expression 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

See also

View Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.