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?

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

    My macro Shortcut key does nothing!

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

    Macro for import from AD?

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

    start up macro for ONE word document/template

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