vba breakpoints not working

G

Guest

I am in the process of testing some vba code for a form. I
set breakpoints in a few spots in the code in order to
step through the code, but when I run the form, it doesn't
stop at the breakpoints. I added a few message boxes to
confirm that the code is being processed when the form is
run.

Does anyone know why it won't stop at the breakpoints?
 
W

Wayne Morgan

Is it just this file or all of them? Have you tried setting the break point
on the msgbox call, since you know that call is running?
 
D

david epsom dot com dot au

I am in the process of testing some vba code for a form. I
set breakpoints in a few spots in the code in order to
step through the code, but when I run the form, it doesn't
stop at the breakpoints. I added a few message boxes to
confirm that the code is being processed when the form is
run.

Does anyone know why it won't stop at the breakpoints?

Typically because you have that feature turned off, (Tools,
Startup, Advanced, Special Keys), but sometimes because the
compiled code is different from the source (/decompile command
line option), and sometimes just because it's flaky.

(david)
 
G

Guest

Thanks, David.

The Special Keys feature was turned off. It seems to be
working fine now.

Thanks again.
 

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