In short, no!
You can have brackets as part of the If part, as this is seen as a formula or condition that should return True or False.
You get an 'Expecting End Of Line' error when the compiler gets to the Then part, as it thinks that bit in brackets is also a condition, which cannot be used as you're doing there.
You can have brackets as part of the If part, as this is seen as a formula or condition that should return True or False.
You get an 'Expecting End Of Line' error when the compiler gets to the Then part, as it thinks that bit in brackets is also a condition, which cannot be used as you're doing there.