I'm running Excel 2010 32 bit (on 64-bit Windows 7) and am experiencing some odd behavior in VBA with the debugger. When I try to single step through the following line of code:Set OpenExternalWorkbook = Workbooks.Open(Filename:=strWorkbookName, ReadOnly:=ReadOnly)
the workbook identified by strWorkbookName is opened briefly and then closes. Execution of the calling function is halted. If I run through this line of code, even if the very next line of code is a "stop" command, everything runs just fine. Has anyone seen behavior like this before?
Just to be clear, there are no autorun event handlers in strWorkbookName.
Any help would be greatly appreciated.
Bookmarks