xlCellTypeBlanks
That'll work great, thanks.
You get a "Yes" button push for that.
"Jacob Skaria" wrote:
Try this
Worksheetfunction.CountBlank(selection)
--
If this post helps click Yes
---------------
Jacob Skaria
"mark" wrote:
sorry... bumped the wrong key.
so like I was saying, I'm trying to select only the blank cells in a
selected range, using this line:
Selection.SpecialCells(xlCellTypeBlanks).Select
But, in situations with a small input set, there are times when there are no
blank cells.
I was hoping I could check:
Selection.SpecialCells(xlCellTypeBlanks).Count
But that doesn't work... it errors out and still says 'No Cells Found",
instead of telling me 0.
I could probably work in an error handler, but is there another way without
that that someone sees, which I'm not thinking of?
Thanks.
"mark" wrote:
Hi.
I'm trying to select only the blank cells in a selected range.
|