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.
>