help needed in setting breakpoints in VBA application not working

M

mannat

I am not able to put break the running of application even after putting
breakpoints.
It just continues to run the application as if no breakpoints are set.
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?bWFubmF0?=,
I am not able to put break the running of application even after putting
breakpoints.
It just continues to run the application as if no breakpoints are set.
It won't be possible to do anything except commiserate, if you don't
provide more information. For example

1. The Office application and application version you're working with

2. The type of code: is this a standard module, a class, a userForm,
something else?

3. What kind of actions execute the code? What kinds of actions does the
code perform?

4. Where are you setting breakpoints? Are you sure the code is even
executing through these positions, or might it never get there or even skip
them? What happens if you STEP through the code (F8), instead?

5. Are you getting any error messages? Have you turned error handling off
by using On Error Resume Next? Is Option Explicit at the beginning of all
the code modules? What result does Debug/Compile give?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

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

Perry

Cindy is correct in al her remarks ...

But what you can do (in whatever Office application y're working ...), set
the break a few VBA lines earlier.
One conclusion can be made: yr code doesn't even get to the point where y've
set yr breakpoint ...
Step through yr code ... hit that F8 key.

Krgrds,
Perry
 
G

George Nicholson

*IF* you are using Access, make sure Tools>Startup>UseSpecialKeys is
checked.
 

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