can not execute in break mode

-1

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?

    
asked by Juan Enciso 11.11.2017 в 21:28
source

1 answer

-1

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.

    
answered by 13.11.2017 в 01:47