WD 2003: macros NG in Comment Pane?

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
 
G

Graham Mayor

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

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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