Debug Problem

P

Peter L Kessler

Hi Group

Something strange is happening today. I'm writing some Word VBA routines,
and I usually go into Debug mode by pressing F8 to run through my script
step by step.

Normally this is fine, but today, 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. Can anyone help?

Best wishes
Peter




Kessler Associates
E: (e-mail address removed)
W: http://homepages.tesco.net/~plk33/plk33/index.htm
 
C

Cindy Meister -WordMVP-

Hi Peter,
Normally this is fine, but today, 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.
1) You'd probably be better off with this posting in one of the word.vba
newsgroups

2) Be sure to mention the version of Word involved. (Note: you're not
automating from VB or anything like that, right?)

3) Copy the code that's doing this into your message (including most of what
leads up to this point)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jan 24 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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

Similar Threads

Debug Problem 1
Cursor Change 2
Populate a listbox using DAO 3
Access data viewed in a listbox 7
debug not working 4
Embedded Excel problem 1
Listbox to textbox 2
add-in timing problem? 0

Top