Custom macro Check Syntax button indicates error even when expression is valid

Problem or error: When you create a custom macro expression and you click Check Syntax, you may see an "Invalid Expression" error. In some cases, this error appears even if the expression is a valid expression.

Solution: You can ignore the message; the custom macro runs as expected.