Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
This tells you the empty cells in a range and you can modify this easily to tell you how many cells are not empty If WorksheetFunction.CountA(Range("A1:c1000")) = _ Range("A1:C1000").Cells.Count Then MsgBox "No empty cells" Else num = Range("A1:C1000").Cells.Count - _ WorksheetFunction.CountA(Range("A1:c1000")) MsgBox num & " Empty cells in range" End If -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "Valeria" wrote: Dear experts, what is the quickest VBA way to determine in a big cells range if at least one of them is non empty? Many thanks for your help! Best regards -- Valeria |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find empty cell | Excel Programming | |||
Find first Empty Cell in a row | Excel Programming | |||
find empty cells in a column then append row that empty cell is in | Excel Programming | |||
To find empty cell | Excel Programming | |||
Please help find the next empty cell | Excel Programming |