I'm getting some weird behavior when trying to debug some VBA code. One problem is that whenever I get a run-time error, I only get the "OK" and "Help" buttons. The "Debug" button doesn't even show up, so I have no idea what code caused the error.

Another problem is I can only partially run the debugger when stepping and using breakpoints. I am able to step through the code and also run to breakpoints, but once I step into an Application function, like Application.InputBox, I seem to get ejected from the Debugger. The code takes off from that point as if I hit F5.

I'm not a regular VBA programmer but have written a bit of code in the past with nothing like this. However, this is the first time I get back into coding after upgrading from Windows 7 to 10. Would that make a difference? We also may have upgraded to Office Professional Plus 2016 during that time, but I'm not sure about that.

Thanks for any thoughts on this.

--Marc