I’ve written some VBA automation code to transfer information from Primavera Project Planner (project scheduling software) to Excel. I use Access as the “middleware” for intermediate tables and processing. Everything works fine except for part way through the process, execution stops and the VBA editor window appears with a line of code highlighted, as if there was a breakpoint there — but there is no breakpoint there! No error messages appear, it just stops. I press F5 to resume execution and everything continues to completion. It’s reproducible — happens every time I run this routine. I’ve tried a Compact and Repair but that doesn’t help.
Has anyone else seen behavior similar to this? What could be causing it? Any way to fix it?
By the way, I’m using Access 2002 but am retaining my mdb files in Access 2000 format (just in case that has something to do with it).
Thanks in advance.