Spreadsheet: 66944d1267617764-macro-for-hiding-rows-timesheet-example
Sheet: Example

 | Name:
 |  |  | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday
 | Date | Week 10 | 2010-03-08 00:00:00 | 2010-03-09 00:00:00 | 2010-03-10 00:00:00 | 2010-03-11 00:00:00 | 2010-03-12 00:00:00 | 2010-03-13 00:00:00 | 2010-03-14 00:00:00
 | Hours |  |  | 8 |  |  | 3 | 5
 | Date | Week 11 | 2010-03-15 00:00:00 | 2010-03-16 00:00:00 | 2010-03-17 00:00:00 | 2010-03-18 00:00:00 | 2010-03-19 00:00:00 | 2010-03-20 00:00:00 | 2010-03-21 00:00:00
 | Hours
 | Date | Week 12 | 2010-03-22 00:00:00 | 2010-03-23 00:00:00 | 2010-03-24 00:00:00 | 2010-03-25 00:00:00 | 2010-03-26 00:00:00 | 2010-03-27 00:00:00 | 2010-03-28 00:00:00
 | Hours |  | 2 | 2 | 2 | 2 | 2 | 2 | 2
 | Date | Week 13 | 2010-03-29 00:00:00 | 2010-03-30 00:00:00 | 2010-03-31 00:00:00 | 2010-04-01 00:00:00 | 2010-04-02 00:00:00 | 2010-04-03 00:00:00 | 2010-04-04 00:00:00
 | Hours |  | 3 | 3 |  | 3 | 3 | 3
 | Date | Week 14 | 2010-04-05 00:00:00 | 2010-04-06 00:00:00 | 2010-04-07 00:00:00 | 2010-04-08 00:00:00 | 2010-04-09 00:00:00 | 2010-04-10 00:00:00 | 2010-04-11 00:00:00
 | Hours
 | Date | Week 15 | 2010-04-12 00:00:00 | 2010-04-13 00:00:00 | 2010-04-14 00:00:00 | 2010-04-15 00:00:00 | 2010-04-16 00:00:00 | 2010-04-17 00:00:00 | 2010-04-18 00:00:00
 | Hours
 | Date | Week 16 | 2010-04-19 00:00:00 | 2010-04-20 00:00:00 | 2010-04-21 00:00:00 | 2010-04-22 00:00:00 | 2010-04-23 00:00:00 | 2010-04-24 00:00:00 | 2010-04-25 00:00:00
 | Hours
 | Date | Week 17 | 2010-04-26 00:00:00 | 2010-04-27 00:00:00 | 2010-04-28 00:00:00 | 2010-04-29 00:00:00 | 2010-04-30 00:00:00 | 2010-05-01 00:00:00 | 2010-05-02 00:00:00
 | Hours
 | Date | Week 18 | 2010-05-03 00:00:00 | 2010-05-04 00:00:00 | 2010-05-05 00:00:00 | 2010-05-06 00:00:00 | 2010-05-07 00:00:00 | 2010-05-08 00:00:00 | 2010-05-09 00:00:00
 | Hours |  | x | x | x | x | x | x | x
 | Date | Week 19 | 2010-05-10 00:00:00 | 2010-05-11 00:00:00 | 2010-05-12 00:00:00 | 2010-05-13 00:00:00 | 2010-05-14 00:00:00 | 2010-05-15 00:00:00 | 2010-05-16 00:00:00
 | Hours
 | Date | Week 20 | 2010-05-17 00:00:00 | 2010-05-18 00:00:00 | 2010-05-19 00:00:00 | 2010-05-20 00:00:00 | 2010-05-21 00:00:00 | 2010-05-22 00:00:00 | 2010-05-23 00:00:00
 | Hours |  | x | x | x | x | x | x | x
 | Date | Week 21 | 2010-05-24 00:00:00 | 2010-05-25 00:00:00 | 2010-05-26 00:00:00 | 2010-05-27 00:00:00 | 2010-05-28 00:00:00 | 2010-05-29 00:00:00 | 2010-05-30 00:00:00
 | Hours
 | Date | Week 22 | 2010-05-31 00:00:00 | 2010-06-01 00:00:00 | 2010-06-02 00:00:00 | 2010-06-03 00:00:00 | 2010-06-04 00:00:00 | 2010-06-05 00:00:00 | 2010-06-06 00:00:00
 | Hours |  | x | x | x | x | x | x | x
 | Date | Week 23 | 2010-06-07 00:00:00 | 2010-06-08 00:00:00 | 2010-06-09 00:00:00 | 2010-06-10 00:00:00 | 2010-06-11 00:00:00 | 2010-06-12 00:00:00 | 2010-06-13 00:00:00
 | Hours |  | x | x | x | x | x | x | x
 | Date | Week 24 | 2010-06-14 00:00:00 | 2010-06-15 00:00:00 | 2010-06-16 00:00:00 | 2010-06-17 00:00:00 | 2010-06-18 00:00:00 | 2010-06-19 00:00:00 | 2010-06-20 00:00:00
 | Hours
 | Date | Week 25 | 2010-06-21 00:00:00 | 2010-06-22 00:00:00 | 2010-06-23 00:00:00 | 2010-06-24 00:00:00 | 2010-06-25 00:00:00 | 2010-06-26 00:00:00 | 2010-06-27 00:00:00
 | Hours
 | Date | Week 26 | 2010-06-28 00:00:00 | 2010-06-29 00:00:00 | 2010-06-30 00:00:00 | 2010-07-01 00:00:00 | 2010-07-02 00:00:00 | 2010-07-03 00:00:00 | 2010-07-04 00:00:00
 | Hours
 | Date | Week 27 | 2010-07-05 00:00:00 | 2010-07-06 00:00:00 | 2010-07-07 00:00:00 | 2010-07-08 00:00:00 | 2010-07-09 00:00:00 | 2010-07-10 00:00:00 | 2010-07-11 00:00:00
 | Hours
 | Date | Week 28 | 2010-07-12 00:00:00 | 2010-07-13 00:00:00 | 2010-07-14 00:00:00 | 2010-07-15 00:00:00 | 2010-07-16 00:00:00 | 2010-07-17 00:00:00 | 2010-07-18 00:00:00
 | Hours
 | Date | Week 29 | 2010-07-19 00:00:00 | 2010-07-20 00:00:00 | 2010-07-21 00:00:00 | 2010-07-22 00:00:00 | 2010-07-23 00:00:00 | 2010-07-24 00:00:00 | 2010-07-25 00:00:00
 | Hours |  | x | x | x | x | x | x | x
 | Date | Week 30 | 2010-07-26 00:00:00 | 2010-07-27 00:00:00 | 2010-07-28 00:00:00 | 2010-07-29 00:00:00 | 2010-07-30 00:00:00 | 2010-07-31 00:00:00 | 2010-08-01 00:00:00
 | Hours
 | Date | Week 31 | 2010-08-02 00:00:00 | 2010-08-03 00:00:00 | 2010-08-04 00:00:00 | 2010-08-05 00:00:00 | 2010-08-06 00:00:00 | 2010-08-07 00:00:00 | 2010-08-08 00:00:00
 | Hours |  | x | x | x | x | x | x | x
 | Date | Week 32 | 2010-08-09 00:00:00 | 2010-08-10 00:00:00 | 2010-08-11 00:00:00 | 2010-08-12 00:00:00 | 2010-08-13 00:00:00 | 2010-08-14 00:00:00 | 2010-08-15 00:00:00
 | Hours
 | Date | Week 33 | 2010-08-16 00:00:00 | 2010-08-17 00:00:00 | 2010-08-18 00:00:00 | 2010-08-19 00:00:00 | 2010-08-20 00:00:00 | 2010-08-21 00:00:00 | 2010-08-22 00:00:00
 | Hours
 | Date | Week 34 | 2010-08-23 00:00:00 | 2010-08-24 00:00:00 | 2010-08-25 00:00:00 | 2010-08-26 00:00:00 | 2010-08-27 00:00:00 | 2010-08-28 00:00:00 | 2010-08-29 00:00:00
 | Hours |  | x | x | x | x | x | x | x
 | Date | Week 35 | 2010-08-30 00:00:00 | 2010-08-31 00:00:00 | 2010-09-01 00:00:00 | 2010-09-02 00:00:00 | 2010-09-03 00:00:00 | 2010-09-04 00:00:00 | 2010-09-05 00:00:00
 | Hours
 | Date | Week 36 | 2010-09-06 00:00:00 | 2010-09-07 00:00:00 | 2010-09-08 00:00:00 | 2010-09-09 00:00:00 | 2010-09-10 00:00:00 | 2010-09-11 00:00:00 | 2010-09-12 00:00:00
 | Hours
 | Date | Week 37 | 2010-09-13 00:00:00 | 2010-09-14 00:00:00 | 2010-09-15 00:00:00 | 2010-09-16 00:00:00 | 2010-09-17 00:00:00 | 2010-09-18 00:00:00 | 2010-09-19 00:00:00
 | Hours
 | Date | Week 38 | 2010-09-20 00:00:00 | 2010-09-21 00:00:00 | 2010-09-22 00:00:00 | 2010-09-23 00:00:00 | 2010-09-24 00:00:00 | 2010-09-25 00:00:00 | 2010-09-26 00:00:00
 | Hours
 | Date | Week 39 | 2010-09-27 00:00:00 | 2010-09-28 00:00:00 | 2010-09-29 00:00:00 | 2010-09-30 00:00:00 | 2010-10-01 00:00:00 | 2010-10-02 00:00:00 | 2010-10-03 00:00:00
 | Hours
 | Date | Week 40 | 2010-10-04 00:00:00 | 2010-10-05 00:00:00 | 2010-10-06 00:00:00 | 2010-10-07 00:00:00 | 2010-10-08 00:00:00 | 2010-10-09 00:00:00 | 2010-10-10 00:00:00
 | Hours
 | Date | Week 41 | 2010-10-11 00:00:00 | 2010-10-12 00:00:00 | 2010-10-13 00:00:00 | 2010-10-14 00:00:00 | 2010-10-15 00:00:00 | 2010-10-16 00:00:00 | 2010-10-17 00:00:00
 | Hours
 | Date | Week 42 | 2010-10-18 00:00:00 | 2010-10-19 00:00:00 | 2010-10-20 00:00:00 | 2010-10-21 00:00:00 | 2010-10-22 00:00:00 | 2010-10-23 00:00:00 | 2010-10-24 00:00:00
 | Hours
 | Date | Week 43 | 2010-10-25 00:00:00 | 2010-10-26 00:00:00 | 2010-10-27 00:00:00 | 2010-10-28 00:00:00 | 2010-10-29 00:00:00 | 2010-10-30 00:00:00 | 2010-10-31 00:00:00
 | Hours
 | Date | Week 44 | 2010-11-01 00:00:00 | 2010-11-02 00:00:00 | 2010-11-03 00:00:00 | 2010-11-04 00:00:00 | 2010-11-05 00:00:00 | 2010-11-06 00:00:00 | 2010-11-07 00:00:00
 | Hours
 | Date | Week 45 | 2010-11-08 00:00:00 | 2010-11-09 00:00:00 | 2010-11-10 00:00:00 | 2010-11-11 00:00:00 | 2010-11-12 00:00:00 | 2010-11-13 00:00:00 | 2010-11-14 00:00:00
 | Hours
 | Date | Week 46 | 2010-11-15 00:00:00 | 2010-11-16 00:00:00 | 2010-11-17 00:00:00 | 2010-11-18 00:00:00 | 2010-11-19 00:00:00 | 2010-11-20 00:00:00 | 2010-11-21 00:00:00
 | Hours
 | Date | Week 47 | 2010-11-22 00:00:00 | 2010-11-23 00:00:00 | 2010-11-24 00:00:00 | 2010-11-25 00:00:00 | 2010-11-26 00:00:00 | 2010-11-27 00:00:00 | 2010-11-28 00:00:00
 | Hours
 | Date | Week 48 | 2010-11-29 00:00:00 | 2010-11-30 00:00:00 | 2010-12-01 00:00:00 | 2010-12-02 00:00:00 | 2010-12-03 00:00:00 | 2010-12-04 00:00:00 | 2010-12-05 00:00:00
 | Hours
 | Date | Week 49 | 2010-12-06 00:00:00 | 2010-12-07 00:00:00 | 2010-12-08 00:00:00 | 2010-12-09 00:00:00 | 2010-12-10 00:00:00 | 2010-12-11 00:00:00 | 2010-12-12 00:00:00
 | Hours
 | Date | Week 50 | 2010-12-13 00:00:00 | 2010-12-14 00:00:00 | 2010-12-15 00:00:00 | 2010-12-16 00:00:00 | 2010-12-17 00:00:00 | 2010-12-18 00:00:00 | 2010-12-19 00:00:00
 | Hours
 | Date | Week 51 | 2010-12-20 00:00:00 | 2010-12-21 00:00:00 | 2010-12-22 00:00:00 | 2010-12-23 00:00:00 | 2010-12-24 00:00:00 | 2010-12-25 00:00:00 | 2010-12-26 00:00:00
 | Hours
 | Date | Week 52 | 2010-12-27 00:00:00 | 2010-12-28 00:00:00 | 2010-12-29 00:00:00 | 2010-12-30 00:00:00 | 2010-12-31 00:00:00 | 2011-01-01 00:00:00 | 2011-01-02 00:00:00
 | Hours