I am just wondering if there is some way to simplify the way that code looks. I have a CHECK BOX that toggles several controls from Visible to Not-Visible and I the code that I have written looks something like:
If Condition A then Condition B1
If Condition A then Condition B2
If Condition A then Condition B3
If Condition A then Condition B4
If Condition A then Condition B5
If Condition C then Condition D1
If Condition C then Condition D2
If Condition C then Condition D3
If Condition C then Condition D4
If Condition C then Condition D5
Is there some way that I could simplify this to two lines? Like this:
If Condition A then Condition B1 & Condition B2 & Condition B3 & Condition B4 & Condition B5
If Condition C then Condition D1 & Condition D2 & Condition D3 & Condition D4 & Condition D5
I just need to know if this is possible, if so, what is the syntax? I tried using "And" to make this happen and it only recognized the first condition.
Thanks for your help
bytreeide