VBE is abporting ... Don't know why

%3CLINGO-SUB%20id%3D%22lingo-sub-1326041%22%20slang%3D%22en-US%22%3EVBE%20is%20abporting%20...%20Don't%20know%20why%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1326041%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20debugging%20some%20code%20and%20am%20running%20into%20a%20VBE%20issue.%20It%20bombs%20out%20(no%20error%20messages%2C%20it%20just%20goes%20away)%2C%20does%20an%20auto%20restart%20of%20Excel%20opening%20the%20file%20%22%3CMYFILE%3E(Version%20%23)%22.%20sometimes%20the%20reopened%20file%20is%20right%20where%20I%20left%20off%20(without%20Breakpoints%20for%20Bookmarks%20set)%2C%20and%20sometimes%20I%20lose%20my%20recent%20edits.%3C%2FMYFILE%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20happens%20when%20I%20'run'%20from%20a%20break%20point%20...%20sometimes.%20Most%20of%20the%20time%20break%20points%20work%20just%20as%20you%20would%20expect.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20should%20I%20look%20for%20to%3A%20a)%20understand%20the%20'sometimes'%20business%2C%20and%20b)%20make%20it%20go%20away%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1326041%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Contributor

I'm debugging some code and am running into a VBE issue. It bombs out (no error messages, it just goes away), does an auto restart of Excel opening the file "<myFile>(Version #)". sometimes the reopened file is right where I left off (without Breakpoints for Bookmarks set), and sometimes I lose my recent edits.

 

This happens when I 'run' from a break point ... sometimes. Most of the time break points work just as you would expect.

 

What should I look for to: a) understand the 'sometimes' business, and b) make it go away?

0 Replies