Hi All,
Excel 2003
I was wondering if anyone can help me? I am after a macro (assuming this is the best solution) to hide certain columns and rows based on the value in column B, the macro needs to be triggered using a check box. So when checked the macro hides specific columns & rows and when unchecked shows all
Example:
<tbody>
</tbody>
I have 3 check boxes: Open, Closed and Onhold
1) When the open box is checked the macro should hide all rows without open in column B and all also hide column D & F
2) When the Closed box is checked the macro should hide all rows without Closed in column B and all also hide column A & E
etc....
To add to the mix is it also possible to filter the results based on 2 columns?
Example
1) When the open box is checked the macro should hide all rows without open in column B and showing Test A in column C but hide column D & F
Hope that makes sense
Any help will be greatly appreciated
Thanks in advance
Excel 2003
I was wondering if anyone can help me? I am after a macro (assuming this is the best solution) to hide certain columns and rows based on the value in column B, the macro needs to be triggered using a check box. So when checked the macro hides specific columns & rows and when unchecked shows all
Example:
A | B | D | E | F |
Test1 | Open | Test A | 1 | xx |
Test2 | Open | Test B | 2 | yy |
Test3 | On Hold | Test A | 3 | zz |
Test4 | Closed | Test D | 4 | xx |
Test6 | Closed | Test E | 5 | yy |
<tbody>
</tbody>
I have 3 check boxes: Open, Closed and Onhold
1) When the open box is checked the macro should hide all rows without open in column B and all also hide column D & F
2) When the Closed box is checked the macro should hide all rows without Closed in column B and all also hide column A & E
etc....
To add to the mix is it also possible to filter the results based on 2 columns?
Example
1) When the open box is checked the macro should hide all rows without open in column B and showing Test A in column C but hide column D & F
Hope that makes sense
Any help will be greatly appreciated
Thanks in advance