Solved

breakpoints appear to have remained in vba

Posted on 2014-09-03
4
174 Views
Last Modified: 2014-09-03
I was testing some code and added breakpoints. I removed the breakpoints but its still stopping in the same places. maybe i have done something silly that i cannot spot?

I have a screen shot here where it stopped.

I tried saving and repair options but it still halts and waits.
ee-breakpoints.PNG
0
Comment
Question by:PeterBaileyUk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 40300986
No, it's an age old problem in VBA ("Phantom Break points").

Open a code module, add a line of code (like a STOP).  Save and compile.   Then do a "Remove all break points", remove the stop, compile and save.  That usually gets rid of the problem.

Jim.
0
 
LVL 57
ID: 40300994
You can also cut and paste all the code in a module and/or do a /decompile.

Anything that forces VBA to change the state of the module and be forced to do a recompile.

Jim.
0
 

Author Comment

by:PeterBaileyUk
ID: 40301026
Success, well i never had that before.
0
 

Author Closing Comment

by:PeterBaileyUk
ID: 40301027
thank you.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question