If I run Sub pmOpenIt() from F5 key, fine. From alt-F8 and run, fine. I can even type call pmOpenIt() into debug window and run, fine.
But using its option-set Ctrl-Shift-Q causes it to run through the Workbooks.Open, and no further.
So that I can rule out corruption, can someone reproduce? It chokes in XL2003 and XL2007 here![]()
Option Explicit Sub pmOpenIt() Application.StatusBar = "running" Debug.Print "0 " Workbooks.Open "c:\delme.xls", 0 Debug.Print "1 " Application.StatusBar = "Done." End Sub
Bookmarks