Part of my code is set to unhide a group of ranges (so that I can then paste to these ranges from another subsquent part) and I have tried to do it this way:
But I get a "wrong" number of arguments error - though it works with unnamed ranges as first part.
Can I modify this to work with a group of named ranges - just so my coding keeps trim?
Code:
'Unhides blank rows
Set Rng = Range("$C$9:$C$95", Nothing)
For Each Area In Rng.Areas
For Each Cell In Area
Cell.EntireRow.Hidden = False
Next Cell
Next Area
Set Rng = Range(Sheets("WI").Range("WI451Names"), Sheets("Bits").Range("Bits451Names"), Sheets("PPE").Range("PPE451Names"))
For Each Area In Rng.Areas
For Each Cell In Area
Cell.EntireRow.Hidden = False
Next Cell
Next Area
But I get a "wrong" number of arguments error - though it works with unnamed ranges as first part.
Can I modify this to work with a group of named ranges - just so my coding keeps trim?