Hello, I was hoping someone could help me with the best logic for hiding multiple excel tabs using VBA. I don't really mind the layout- just something functional. At any point new tabs can be added and I want to be able to use the TRUE FALSE logic within a worksheet instead of VBA.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Tab Name[/TD]
[TD][/TD]
[TD]Hide?[/TD]
[/TR]
[TR]
[TD]New Model Portfolio[/TD]
[TD]New Model Portfolio.Visible[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]Compliance[/TD]
[TD]Compliance. Visible[/TD]
[TD]FALSE[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Tab Name[/TD]
[TD][/TD]
[TD]Hide?[/TD]
[/TR]
[TR]
[TD]New Model Portfolio[/TD]
[TD]New Model Portfolio.Visible[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]Compliance[/TD]
[TD]Compliance. Visible[/TD]
[TD]FALSE[/TD]
[/TR]
</tbody>[/TABLE]