Hi Everybody
I seem to have a simple problem but can't get it right.
I am trying to hide Rows with multiple ranges.
I recorded this to see how to structure such a statement.
This works obviously however the following doesn't and I don't understand why.
Can you list multiple ranges like this or because I have varibles in the range do I have to write them individually. Could you also please explain what rules I have to follow for such a situation.
Thanks for the help
Partjob
I seem to have a simple problem but can't get it right.
I am trying to hide Rows with multiple ranges.
I recorded this to see how to structure such a statement.
Code:
Range("7:12,22:28").EntireRow.Hidden = True
Code:
Sheet6.Range(StrRowP & ":" & 38,StrRowC & ":" & 280,StrRowE & ":" & 408).EntireRow.Hidden = True
Can you list multiple ranges like this or because I have varibles in the range do I have to write them individually. Could you also please explain what rules I have to follow for such a situation.
Thanks for the help
Partjob