Hey!
Let's say you have two workbooks opened and you want to run a macro everytime the "workbook 2" is deactivated. However, the macro should make some changes to this deactivated "workbook 2" and then deactivate it again. But this scenario obviously creates an infinite loop.
My "workbook 2" code looks like this:
My Macro:![]()
Please Login or Register to view this content.
Is it possible to make it work without this unwanted loop?![]()
Please Login or Register to view this content.
Thanks for any advice!
Lukas
Bookmarks