none
How to hide or show the Review Pane? RRS feed

  • Question

  • Hi,

    the Review Pane seems not be in available in Word.WdTaskPanes, so I can not access it by vsto.

    I've already seen the ActiveWindow.ActivePane way of closing it but I'd like to refer to the Pane wheter it is active or not.

    Regards, Max

    Thursday, August 1, 2013 10:46 AM

Answers

  • Hi Max,

    As a follow-up to your posting. I looked into how to figure out if the Reviewing task pane was open and I believe you will have to check for its split screen type value being open. I used the following code to find that the enumeration of the vertical reviewing split screen is 18.

        ActiveWindow.View.SplitSpecial = 18 'wdPaneRevisionsVert
        Dim i As Integer
        Dim pne As Word.Pane
        For Each pne In ActiveWindow.Panes
            pne.Activate
            Debug.Print ActiveWindow.ActivePane.View.SplitSpecial
        Next
    


    Kind Regards, Rich ... http://greatcirclelearning.com

    • Marked as answer by mgaerber Thursday, August 1, 2013 1:16 PM
    Thursday, August 1, 2013 12:53 PM

All replies

  • This command opens it:

    ActiveWindow.View.SplitSpecial = wdPaneRevisionsVert


    Kind Regards, Rich ... http://greatcirclelearning.com

    Thursday, August 1, 2013 12:25 PM
  • Hi Max,

    As a follow-up to your posting. I looked into how to figure out if the Reviewing task pane was open and I believe you will have to check for its split screen type value being open. I used the following code to find that the enumeration of the vertical reviewing split screen is 18.

        ActiveWindow.View.SplitSpecial = 18 'wdPaneRevisionsVert
        Dim i As Integer
        Dim pne As Word.Pane
        For Each pne In ActiveWindow.Panes
            pne.Activate
            Debug.Print ActiveWindow.ActivePane.View.SplitSpecial
        Next
    


    Kind Regards, Rich ... http://greatcirclelearning.com

    • Marked as answer by mgaerber Thursday, August 1, 2013 1:16 PM
    Thursday, August 1, 2013 12:53 PM
  • Thanks a bunch! SplitSpecial ... still need to get used to this object model

    Thursday, August 1, 2013 1:21 PM