G Guest Jan 11, 2005 #1 Does anyone know if there is a way to have Excel autohide rows or ranges based on selected conditions?
Does anyone know if there is a way to have Excel autohide rows or ranges based on selected conditions?
G Guest Jan 11, 2005 #2 Hi Derek, YOu might spell out what you mean by "selected conditions." A value in a cell, upon entering data ain a cell, whether the sun is shining?
Hi Derek, YOu might spell out what you mean by "selected conditions." A value in a cell, upon entering data ain a cell, whether the sun is shining?
G Guest Jan 12, 2005 #3 Yes. try something like this sub HideRange() If Range("A1")=True Then 'or whatever your condition is Range("MyRange").EntireRow.Hidden = True 'or EntireColumn End If End Sub
Yes. try something like this sub HideRange() If Range("A1")=True Then 'or whatever your condition is Range("MyRange").EntireRow.Hidden = True 'or EntireColumn End If End Sub