问题 I am trying to do the following in one module: Replace a Public Const in another module, at run-time. Invoke a procedure that uses the updated public constant However, it throws an error: Can't enter break mode at this time Although, it does update the public constant. I tried pressing F5 to resume execution, but it did not help. Any suggestions? Sub AB() Call LoadQuoteDetails2.Automation Application.VBE _ .ActiveVBProject _ .VBComponents _ .Item("mod00Admin") _ .CodeModule _ .ReplaceLine 2,