Solved

breakpoints appear to have remained in vba

Posted on 2014-09-03
4
172 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
  • 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

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…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server stored procedures 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 Micr…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

832 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