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.

Re: How to prevent the wdPaneComments pane from opening by Tony

Tony
Wed Nov 16 08:42:46 CST 2005

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

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

--
Enjoy,
Tony


<Charlie Mac> wrote in message
news:c2okn1pkvev8qugnmmjvq0sgti5rvpl90l@4ax.com...
> 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.
>



Re: How to prevent the wdPaneComments pane from opening by Charlie

Charlie
Wed Nov 16 15:07:37 CST 2005

Thank you. It is amazing what I cannot see when I am tired.

On Wed, 16 Nov 2005 14:42:46 -0000, "Tony Jollans" <My Forename at My
Surname dot com> wrote:

>Why not just add the text directly and avoid the Comments Pane altogether?
>
>Selection.Comments.Add Range:=Selection.Range, Text:=MyText