Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Find empty cells
Hello!
I'd like to find an empty cell within a range and then check if the following cells are empty too. The following command creates a trendline if a cell is empty. But this is not enough; all following cells within the range "b" & vol1 need to be empty as well ... (the if/ else is just used if the value is the first entry in the range). I hope you understand what I mean ... Can anybody help? Thank you! Maria If IsNumeric(.Range("b" & .Range("vol1").SpecialCells (xlCellTypeBlanks).Cells(1).Row - 2).Value) Then trendlin (1) = .Range("b" & .Range("vol1").SpecialCells (xlCellTypeBlanks).Cells(1).Row - 1).Value - .Range("b" & .Range("vol1").SpecialCells(xlCellTypeBlanks).Cell s (1).Row - 2).Value Else trendlin(1) = .Range("b" & .Range ("vol1").SpecialCells(xlCellTypeBlanks).Cells(1).R ow - 1).Value |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Cannot find "Plot empty cells as" option in 2007 | Charts and Charting in Excel | |||
Find empty cells, fill with text from cell above | Excel Worksheet Functions | |||
Excel - Autom. Filter "Empty / Non Empty cells" should come first | Excel Discussion (Misc queries) | |||
How can I convert empty strings to empty cells? | Excel Discussion (Misc queries) | |||
Can blank cells created using empty Double-Quotes not be empty?? | Excel Programming |