Review Pane Opens Whenever I run a Macro in Word

别等时光非礼了梦想. 提交于 2020-07-10 17:27:22

问题


When I run Word macros I've created (which are in the form of comments within a comment bubble), the reviewing pane keeps opening on me.

I teach, and review student work in the form of Word docs. So, to give feedback, I have a lot of comments I give repetitively, so having a set of "common comments" macros is helpful to me.

I can create the macros, no problem, BUT every time I run one, the reviewing pane opens, too. I don't want that to happen. Is there any way to make it stop?


回答1:


You can open and close the review pane using the following code:

Open Review Pane:

ActiveWindow.View.SplitSpecial = wdPaneRevisionsVert

Close Review Pane:

ActiveWindow.View.SplitSpecial = wdPaneNone

So adding the previous line at the and of your macro should probably do the trick.



来源:https://stackoverflow.com/questions/40836653/review-pane-opens-whenever-i-run-a-macro-in-word

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!