you could modify Michael M's macro :
If Range("C" & r).Value = "" And Range("D" & r).Value = "" Then Rows(r).Hidden = True
to
If Range("C" & r).Value = "" OR Range("D" & r).Value = "" Then Rows(r).Hidden = True
Or you could have 3 of Jon con der Heyden's macro's,
Hideblankrowsc()
change: Call .AutoFilter(Field:=2, Criteria1:="<>", Operator:=xlAnd, VisibleDropDown:=False)
to: Call .AutoFilter(Field:=2, Criteria1:="<>", Operator:=xlAnd, VisibleDropDown:=True)
Hideblankrowsd()
change: Call .AutoFilter(Field:=1, Criteria1:="<>", Operator:=xlAnd, VisibleDropDown:=False)
to: Call .AutoFilter(Field:=1, Criteria1:="<>", Operator:=xlAnd, VisibleDropDown:=True)
Or....you could add column E add the following formula - =IF(AND(C2="",D2=""),"",IF(OR(C2="",D2=""),"","X")) 'or whatever value you want other than "X"
copy that down.
Expand Jon's tange to: Set rngToCheck = Excel.Intersect(.Columns("C:E"), .UsedRange)
and have only one call:
Call .AutoFilter(Field:=3, Criteria1:="<>", Operator:=xlAnd, VisibleDropDown:=False)
Multiple options there.

I think they should all work