Why does the VBA editor keep opening in Excel 2010?

Every time I run a certain macro (which is assigned to a button in my sheet), the VBA editor opens up and highlights the line below in yellow. It's not an error or even on of those red breakpoints, it's just simply a stoppage of the macro, which resumes when I press the green play button again. Why does this keep popping up?

    Cells.Find(What:="Reporting Period", After:=ActiveCell, LookIn:=xlValues, LookAt:=xlWhole).Select
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try cutting the entire code from that module to the clipboard, then compiling the VBA project, then paste the code back in and compile again. That usually works for me.
shampouyaAuthor Commented:
I read something about maximizing and minimizing the VBA editor, is that related to this problem too?
I don't know whether that is related. My best guess is that VBE is storing 'invisible' information (relating to breakpoints and watches) that aren't always cleared down after use. Removing the module content, compiling and then pasting the content back in from the clipboard (or you can export,delete,import modules) seems to clear the problem wherever I've experienced it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.