I’m for a solution to part of a macro I’m writing that will hide certain (fixed position) rows across a few different sheets. I currently have:
Sheets(Sheet1).Range("5:20").EntireRow.Hidden = True
To hide rows 5-20 in Sheet1. I also would like to hide (for arguements sake), row 6, row 21, and rows 35-38 in Sheet2 – I could do this by repeating the above line of code 3 more times; but am sure there’s a better way of doing this, just as a learning exercise.
Any help much appreciated 🙂
Chris
Specify a
Unionof some ranges as follows