如果打开段落标记,有没有办法关闭它?
我在网上搜索,除了检查他们是否打开的方法外,没有找到任何东西。
答案 0 :(得分:2)
ShowAll
属性是您正在寻找的。 p>
开启:
ActiveWindow.ActivePane.View.ShowAll = True
关闭:
ActiveWindow.ActivePane.View.ShowAll = False
检查段落标记是否已打开,然后将其关闭:
If ActiveWindow.ActivePane.View.ShowAll = True Then
ActiveWindow.ActivePane.View.ShowAll = False
End If