本示例显示活动窗口中的表格虚框。

ActiveDocument.ActiveWindow.View.TableGridlines = True