From: John on
To my surprise, I solved this problem. I should point out, though, that I had macros that entered specific, pre-selected words or phrases. To insert a "custom" comment, Word has an "insert comment" button that you can add to the quick access toolbar (and which does not open the reviewing pane!).

Here's how I solved my problem with the pre-selected word comments:

Before started recording the macro, I opened the reviewing pane (so that I could close it as part of the recording process). I also selected a word so that the comment would be placed somewhere specific.

Then I started recording the macro (which in this case involved hitting the "insert comment" button, typing a phase, such as "good point").

For the final step of my macro recording, I closed the reviewing pane.

Much to my surprise, this inserted my comment at the selected spot, and then VERY QUICKLY OPENED AND CLOSED the reviewing pane!

I examined the macro code in the Visual Basic editor and noticed that this phrase was the last line before "End Sub":

ActiveWindow.ActivePane.Close

When I copied this into all my macros, it opened and closed the reviewing pane for all of them.

Problem solved!

John Voyer
U of Southern Maine
School of Business



Steph H wrote:

"Insert Comment" macro--can't get rid of reviewing pane
21-Feb-10

I just recently got a new laptop and decided to try Office 2010 while I am at
it. I have a single, simple macro recorded with a key-combo saved to it that
will insert a comment. I edit documents and spend MANY hours inserting
comments. My macro is simple: Insert Comment. That's it. I just do Alt-W
and voila! The comment is inserted, ready for me to type my text into it. In
Word 2003, it inserts nicely and neatly. However, in trying to create this
same macro in Word 2010, when I actually go to run the macro, it ALWAYS opens
up the reviewing pane at the bottom!! And yet, when I am recording the darn
thing, it never comes up! So I cannot even record a step to close it!!
ARGH!! I have spent hours trying to figure out how to get it to insert the
comment without the pane showing up. My new screen is smaller, and I cannot
afford to give up that space to the stupid reviewing pane.

I tried opening up both macros and copying/pasting the text, but there is
only one line: "Selection.Comments.Add Range:=Selection.Range". There is
nothing in there about the pane as far as I can tell. I also used the
organizer found on the developer tab to copy the macros from my old .dot
template to my new .dotm template. STILL puts the reviewing pane in there.

If there is anyone out there who has some insight for me, I would greatly
appreciate it. Thank you so much!

Previous Posts In This Thread:

On Sunday, February 21, 2010 12:22 PM
Steph H wrote:

"Insert Comment" macro--can't get rid of reviewing pane
I just recently got a new laptop and decided to try Office 2010 while I am at
it. I have a single, simple macro recorded with a key-combo saved to it that
will insert a comment. I edit documents and spend MANY hours inserting
comments. My macro is simple: Insert Comment. That's it. I just do Alt-W
and voila! The comment is inserted, ready for me to type my text into it. In
Word 2003, it inserts nicely and neatly. However, in trying to create this
same macro in Word 2010, when I actually go to run the macro, it ALWAYS opens
up the reviewing pane at the bottom!! And yet, when I am recording the darn
thing, it never comes up! So I cannot even record a step to close it!!
ARGH!! I have spent hours trying to figure out how to get it to insert the
comment without the pane showing up. My new screen is smaller, and I cannot
afford to give up that space to the stupid reviewing pane.

I tried opening up both macros and copying/pasting the text, but there is
only one line: "Selection.Comments.Add Range:=Selection.Range". There is
nothing in there about the pane as far as I can tell. I also used the
organizer found on the developer tab to copy the macros from my old .dot
template to my new .dotm template. STILL puts the reviewing pane in there.

If there is anyone out there who has some insight for me, I would greatly
appreciate it. Thank you so much!


Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF Circular Progress Indicator
http://www.eggheadcafe.com/tutorials/aspnet/4d89b4cb-ba59-4362-ab0a-cc047643fd42/wpf-circular-progress-ind.aspx