Ioweyouone
New Member
- Joined
- Aug 14, 2009
- Messages
- 42
- Office Version
- 365
- Platform
- Windows
Hello,
The objective is to hide rows based on the value in a cell. I wrote a formula for all cells in the range M141:M1500, that returns a 1 if I want that row hidden. =COUNTA(D141:I141)+IF(M140>2,1,0)
The attached image shows the Code I wrote to hide all the rows with a 1 value in column M. It works, but it takes over 3 minutes to hide the rows after I execute the command. Any suggestions to speed this up?
The objective is to hide rows based on the value in a cell. I wrote a formula for all cells in the range M141:M1500, that returns a 1 if I want that row hidden. =COUNTA(D141:I141)+IF(M140>2,1,0)
The attached image shows the Code I wrote to hide all the rows with a 1 value in column M. It works, but it takes over 3 minutes to hide the rows after I execute the command. Any suggestions to speed this up?