Hi Andrew
You did not specify the criteria you will use to hide rows in each cases,
so change portions of text in BOLD according your needs
Note:
1-I choose to show you on each case different type of criteria to evaluate.
Change them accordingly
2- You must repeat the IF conditions portions of code as many sections you want to evaluate
3- Change the ranges and row numbers accordingly
This is the code for the Worksheet Private event
*******************************************************************************************
Private Sub Worksheet_Change(ByVal Target As Range)
''this line will Unhide all rows in the sheet
Rows("1:" & Rows.Count).EntireRow.Hidden = False
''''Your conditions as per criteria
If Range("C3") > 50 Then
Rows("5:23").EntireRow.Hidden = True
End If
If Range("C25") = "Your criteria" Then
Rows("26:44").EntireRow.Hidden = True
End If
If Range("C48") <= 100 Then
Rows("56:65").EntireRow.Hidden = True
End If
End Sub
*****************************************************************************
Check picture below
Do let me know if you require any further help on this. Will be glad to help you.
If this answer would be the solution to your question, Please, share your appreciation by marking it as answered. I would be grateful to you as well.
Thanks
Regards
Jeovany CV