simoncpage
Programmer
ActiveSheet.Range("topleft".Offset(0, i).EntireColumn.Hidden = Check(i)
I have the following code. Check(i) is an boolean array how can I make it so it equals the opposite if Check(1) = True I want it to be false without having to introduce an if structure?
Any help would be great, thanks
Simon
I have the following code. Check(i) is an boolean array how can I make it so it equals the opposite if Check(1) = True I want it to be false without having to introduce an if structure?
Any help would be great, thanks
Simon