• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Macro running smoothly through button, but jumps to "break mode" through another macro or F8

George Moyal

New Member
Hi all,

I have a weird problem that I stuck with. I have the attached file which copies 4 sheets to another workbook and saves it.

Macro runs smoothly but I'am using this shortened code inside another file and this macro is called inside another macro in that file which causes the problem. When trying to debug step-by-step with F8, I get the weird problem and the code is interrupted, I get the message "Can't execute in break mode error" .

Your help will be highly appreciated.
 

Attachments

  • Copy_New_Book.xlsm
    26.5 KB · Views: 4
Back
Top