P
Peter L Kessler
Hi Group
Something strange is happening in Word. I'm writing some Word 97 VBA
routines in a user form, and I usually go into Debug mode by pressing F8 to
run through my script step by step.
Normally this is fine, but since Friday, every time the run-through reaches
a line of script which starts "ActiveDocument...." Debug stops as if it has
reached the end of the routine. Yet if I run the routine normally, by
clicking the "Run" button, it goes all the way through.
I haven't changed any settings so I've no idea why it is suddenly doing
this. I tested it in Word 2000 on the same PC and it stopped in the same
place, as if I'd clicked the "Stop" button itself - no crashes, no error
messages, it just stops the debug run-through dead.
Nothing is automated from VB or anything else, this is a straightforward
attempt in Word VBA to debug my script. There's far too much code to copy
here, but I've not added anything that would cause this. It even happens old
older saved versions of the file which were definitely okay. Can anyone
help?
Best wishes
Peter
Kessler Associates
E: (e-mail address removed)
W: http://homepages.tesco.net/~plk33/plk33/index.htm
Something strange is happening in Word. I'm writing some Word 97 VBA
routines in a user form, and I usually go into Debug mode by pressing F8 to
run through my script step by step.
Normally this is fine, but since Friday, every time the run-through reaches
a line of script which starts "ActiveDocument...." Debug stops as if it has
reached the end of the routine. Yet if I run the routine normally, by
clicking the "Run" button, it goes all the way through.
I haven't changed any settings so I've no idea why it is suddenly doing
this. I tested it in Word 2000 on the same PC and it stopped in the same
place, as if I'd clicked the "Stop" button itself - no crashes, no error
messages, it just stops the debug run-through dead.
Nothing is automated from VB or anything else, this is a straightforward
attempt in Word VBA to debug my script. There's far too much code to copy
here, but I've not added anything that would cause this. It even happens old
older saved versions of the file which were definitely okay. Can anyone
help?
Best wishes
Peter
Kessler Associates
E: (e-mail address removed)
W: http://homepages.tesco.net/~plk33/plk33/index.htm