PerhapsOr you could use the two argument form of Range to collect your found cells, instead of Union.![]()
With rng Set compactRng = Range(.Item(1), .Item(.cells.count)) End With compactRng.ClearContents
PerhapsOr you could use the two argument form of Range to collect your found cells, instead of Union.![]()
With rng Set compactRng = Range(.Item(1), .Item(.cells.count)) End With compactRng.ClearContents
_
...How to Cross-post politely...
..Wrap code by selecting the code and clicking the # or read this. Thank you.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks