I know that there is a long hand way to do this:
Row State( 3 ) = Excluded State( 0 );
Excluded( Row State( 3 ) );
Row State( 1 ) = Excluded State( 1 );
Excluded( Row State( 1 ) );
Row State( 5 ) = Excluded State( 1 );
Excluded( Row State( 5 ) );
Row State( 6 ) = Excluded State( 0 );
Excluded( Row State( 6 ) );
Row State( 7 ) = Excluded State( 1 );
Excluded( Row State( 7 ) );
Row State( 8 ) = Excluded State( 1 );
Excluded( Row State( 8 ) );
But I am guessing that there may be a quicker way to exclude columns when dealing with a lot of columns.
I want the script to basically say, "exclude all columns except columns 5 and 7" (or whatever columns the case may be)
Thank you!