WD 2003: macros NG in Comment Pane?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a few quick keyboard macros I like to use, mainly for inserting the
date (not a date field, but the static date), which used to work in Word 2000
in both regular document areas and in the comment pane. With the architecture
of Word 2003, I find they're not working. They'll work if I write a comment
in a balloon, but I don't like using balloons because it crowds my desktop.
I'd rather write comments in the comment pane. Is there something I need to
add to the macros to get them to work in the comment pane, or is this
impossible?

What happens now is that I open the pane, the cursor is blinking on the
first line of the new comment, and when I run the macro, the date appears in
the regular document, not in the comment.

RB
 
How about

Selection.Comments.Add Range:=Selection.Range
ActiveWindow.Panes(2).Activate
Selection.TypeText Format(Now, "d MMM yyyy")
ActiveWindow.Panes(1).Activate


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top