An error in EXE which doesn't happen in Design Environment
Okay. As a preface, I've been doing this for over 5 years, and this has got me stumped.
I'm getting an error: Run-time error '5': Illegal Function Call when I'm running the .exe . I do not get this when running in the design environment (Start with Full Compile). I cannot track down what or where the error is caused.
As a given, all 'on error resume next' statements are commented out. I'm using Option Explicit.
In order to attempt to trap it the old fashioned way, I have msgbox's in certain places, but the oddest thing happens. No matter where I put my msgbox's I still get the error, but the msgbox is behind the error dialog box. I can still click on 'OK' on my msgbox and the program terminates.
Kind of a tough one to explain, but even tougher to figure out. Anyone???