I've proved I'm getting to the Run command by adding MsgBox calls. I also can see I'm calling the routine because I put a MsgBox call into the called routine. I just DON'T get to stop the code with a breakpoint!!! Here's more detail. I stripped down the code to nothing and it still doesn't run.
Here's the code:
In Sheet1(Sheet1):
I set breakpoint at the 'Run "TryMain()"' line above.
Module22:
I set a breakpoint at the 'MsgBox"Here I am in TryMain()"' line above.
Within Excel I have the spreadsheet up for Tab 1 named Sheet1.
I edit the Cell at location B1.
I reach the breakpoint in the Worksheet_Change procedure in Sheet1 at the 'Run "TryMain()"' line.
I then press F5 to continue running.
I don't reach the breakpoint in the TryMain procedure in Module22 at the 'MsgBox "Here I am..."' line.
I do get to the message box and hit ok. I just don't sit at the breakpoint...
I cross posted to Mr. Excel... Here is the link: http://www.mrexcel.com/forum/showthread.php?t=521170
Bookmarks