Hello,
I have been having some trouble building an automation that checks for various items on a page when it is edited. This is part of a document compliance effort to ensure people are not using certain macros in specific controlled spaces.
I have managed to put together some simple macros (see image) that check for a macro on the page, but I run into issues when I want to check for multiple different macro types.

I have tried using an IF/ELSE branch with multiple checks for macros. It seems to always return as TRUE even when none of the conditions are met on the page.

I feel like there must be a more elegant solution that I am overlooking, and any advice on how to check a page for macros would be very helpful. Thank you!