1

如果打开了段落标记,有没有办法关闭它们?

我在网上搜索并没有找到任何东西,除了检查它们是否打开或关闭的方法。

4

1 回答 1

2

ShowAll物业是您正在寻找的。

打开:

ActiveWindow.ActivePane.View.ShowAll = True

把关掉:

ActiveWindow.ActivePane.View.ShowAll = False

检查段落标记是否打开,然后将其关闭:

If ActiveWindow.ActivePane.View.ShowAll = True Then
    ActiveWindow.ActivePane.View.ShowAll = False
End If
于 2013-02-08T13:57:41.787 回答