I'm trying to run the following code
Workbooks("book2.xlsx").Sheets("Sheet2").Range("A8").Value = "D2"
and he says:
can not execute in break mode
Does anyone know what happens?
I'm trying to run the following code
Workbooks("book2.xlsx").Sheets("Sheet2").Range("A8").Value = "D2"
and he says:
can not execute in break mode
Does anyone know what happens?
Maybe more information would be necessary, one reason why it may happen is because you have some macro running while trying to debug .
For example, a macro that performs the auto-save task or that extracts statistics from your code could interfere without the problem actually residing in the code you are making.