S
Susan K. Brown
I have programmed a template which uses the DocumentChange event to reset
some custom toolbars I use. This template is programmed in Word97 and is
now being used on Word 2002 on an XP machine. The DocumentChange event
seems to be triggered at different times other than when a new document is
created, a different document is opened or you switch to a different
document in Word 2002. I've tested it in both environments and it is not
being triggered in Word 97 but is in Word 2002.
One thing that I did do on the Word 2002 machine was to put breakpoints in
and step through the code. When I put the breakpoint in the DocumentChange
event, it went through that, but when I put the breakpoint in before the
DocumentChange event (I put it in the AutoNew code), it never went through
the DocumentChange event.
Please help. Do these events work differently between Word97 and Word 2002?
Thanks,
Susan Brown
some custom toolbars I use. This template is programmed in Word97 and is
now being used on Word 2002 on an XP machine. The DocumentChange event
seems to be triggered at different times other than when a new document is
created, a different document is opened or you switch to a different
document in Word 2002. I've tested it in both environments and it is not
being triggered in Word 97 but is in Word 2002.
One thing that I did do on the Word 2002 machine was to put breakpoints in
and step through the code. When I put the breakpoint in the DocumentChange
event, it went through that, but when I put the breakpoint in before the
DocumentChange event (I put it in the AutoNew code), it never went through
the DocumentChange event.
Please help. Do these events work differently between Word97 and Word 2002?
Thanks,
Susan Brown