Place cursor in comment

C

Charlie Mac

I have a button on my toolbar that will add a blank comment for
selected text. How do I place the cursor in the comment without
opening the review pane. This is the code I am using and it leaves
the cursor in the selected text.

Dim MyTag As Integer
' load array here
MyTag = CommandBars.ActionControl.Tag
Selection.Comments.Add Range:=Selection.Range,
Text:=Aray(MyTag, 2)

Thank you for your thoughts.

Charlie from Texas
 

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