How to prevent the wdPaneComments pane from opening

C

Charlie Mac

I have a toolbar to add comments using:

Selection.Comments.Add Range:=Selection.Range
Selection.TypeText Text:=MyText

How do I prevent the wdPaneComments pane from opening.

The ActiveWindow.ActivePane.close, works but flashes the screen.


Please help. Thanks.
 
T

Tony Jollans

Why not just add the text directly and avoid the Comments Pane altogether?

Selection.Comments.Add Range:=Selection.Range, Text:=MyText
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top