Comment insertion macro

Discussion in 'Word Programming' started by Walter Briscoe, Dec 23, 2013.

  1. I use Word 2003.
    To insert a comment box, I select some text, click Insert\Comment, type
    some text and move focus outside the box.
    I recorded a macro to automate a box, containing "Full stop?"
    with instructions
    Selection.Comments.Add Range:=Selection.Range
    Selection.TypeText Text:="Full stop?"

    when I ran that macro, it also opened another window containing a list
    of all the comments in the current document.
    I added a line to close that window:
    ActiveWindow.ActivePane.Close

    When investigating the behavior, I found
    Selection.Comments.Add Range:=Selection.Range, Text:="Full stop?"
    does not open the additional window.

    Why are the behaviors different?

    The loss of Google Groups search facilities means I was unable to
    reearch the question as I would have liked and others will have
    difficulty finding this thread. ;(
    --
    Walter Briscoe
     
    Walter Briscoe, Dec 23, 2013
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jean Gagnon

    My macro Shortcut key does nothing!

    Jean Gagnon, Jul 13, 2003, in forum: Word Programming
    Replies:
    1
    Views:
    124
    Howard Kaikow
    Jul 14, 2003
  2. Jonathan

    Macro for import from AD?

    Jonathan, Jul 18, 2003, in forum: Word Programming
    Replies:
    1
    Views:
    117
    Howard Kaikow
    Jul 18, 2003
  3. Oci-One Kanubi
    Replies:
    0
    Views:
    306
    Oci-One Kanubi
    Aug 2, 2003
  4. kph
    Replies:
    0
    Views:
    120
  5. Matthew

    start up macro for ONE word document/template

    Matthew, Sep 25, 2003, in forum: Word Programming
    Replies:
    1
    Views:
    115
    Howard Kaikow
    Sep 26, 2003
  6. Replies:
    0
    Views:
    129
  7. Yosh
    Replies:
    3
    Views:
    2,058
    Klaus Linke
    May 8, 2007
  8. Raju
    Replies:
    1
    Views:
    76
    Stefan Blom
    May 20, 2008
Loading...