Hi,
I have a MACRO that clears out the data from and repopulates a months worth of dates in a time sheet spreadsheet.
I need to hide the weekend columns, row 6 of each column is populated with the day of the week.
What I would like to do is loop through all of the columns in a given range and hide as appropriate, something like:
Can some one help?
Cheech
[Peace][Pipe]
I have a MACRO that clears out the data from and repopulates a months worth of dates in a time sheet spreadsheet.
I need to hide the weekend columns, row 6 of each column is populated with the day of the week.
What I would like to do is loop through all of the columns in a given range and hide as appropriate, something like:
Code:
range = x to bb
For each column in range
If ((this_column:5 = 'Sat') or (this_column:5 = 'Sun') Then
hide column
End If
Next
Can some one help?
Cheech
[Peace][Pipe]