Office Watch

Office 2013

Office Mobile / iPad

Office 2010

Office 2007

Office 2003

Office XP

Office for Mere Mortals

Access

Email

Buying Office

Office 365

Winks

Office News Wire

Join us!

Our Ebooks

Mobile | PDA

RSS


Search

Command Finder


Microsoft Office Bookshop

About

Home




Phantom Breakpoints

The phantom breakpoint: what causes it and how to solve the problem.

by Access Watch

Bookmark and Share

  | Mobile | click for more article services     


Q:  Don R. writes:  When I click a command button to print a Word letter (this button runs VBA code to create the letter from a Word template), the code stops on a certain line, which is highlighted in yellow.  What is causing this, and how can I put a stop to it, so the letter will just print?

A:  This is the phantom breakpoint problem, which I see from time to time in my code (even in Access 2007).  There must have been a breakpoint on that line at one time, which was removed (but not entirely!).  The code still stops on the line that had the breakpoint, but it has the yellow highlight instead of the usual dark red breakpoint highlight.  Use F5 to continue running the code, and when it is done, select Clear All Breakpoints from the Debug menu in the VBA window.  That should clear the breakpoint and let the code run without interruption in future.

Article posted: Wednesday, 15 August 2007

there's more ...

If you liked this article you'll LOVE our new ebooks.

Office 2013: the real startup guide

OFFICE 2013: the real startup guide Everything you need to know about Office 2013 but Microsoft won't tell you.

How to save money, install, configure and use the new features in Office 2013.  Get it today - click here.

Windows 8 for Microsoft Office users

Windows 8 for Microsoft Office users A practical guide the new, changed and unfamiliar in Windows 8

A focused and unvarnished look at Windows 8, especially written for the many people who use Microsoft Office  Get it today - click here.

ORGANIZING OUTLOOK EMAIL - tame your Outlook 2010 Inbox

100+ pages of practical tips and help to streamline, automate and search your Inbox.  Get more than you ever thought possible from Outlook.  Read it today - click here.



Article Services sponsored by: Office Watch Ebooks - available now to download and read today.
RSS feed for this category Subscribe

Translate | Mobile | Links
 Add to: Bookmarks | | DiggThis | Yahoo! My Web


New & Popular
» Microsoft’s commitment to Office beyond Windows
» Which character code is that?
» How Word’s grammar check can let you down
» One Terabyte of OneDrive is here
» What is Microsoft Delve?
» Use the latest Unicode symbols in Office


Office Watch, Office for Mere Mortals, Access Watch and all titles used within the publications are Copyright © 1996-2014 Office Watch.
Microsoft Office, Microsoft Word, Microsoft Excel, Microsoft Outlook, Microsoft Powerpoint and doubtless many other names are registered trademarks of Microsoft Corporation.

Search  |  Sitemap |  Popular Topics | Privacy Statement |  Advertising |  Twitter |  Feedback / Contact Us
Office Watch is definitely not affiliated with Microsoft - and that's just one reason why we are so useful to Microsoft Office users around the world J (Erko).