Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
empty cells
in a spreadsheet, i have a series of dates in a column, but many are blank.
this column is created via formula: in a1: =if(c1="is a date",b1,""), where info in column b are dates, but not all are wanted in column a's formula. the problem arises in code when i try to define what's in column a (dates and blanks). for i = 1 to 100 maturitydate=cells(i,1).value next i if cells(i,1) are blank (caused by "" in excel formual), code stops and cannot assign a blank to 'maturitydate'. if, however, i go back and overwrite the formula in excel and simply clearcontents, it works in code. can i write a formula in excel spreadsheet that has false statement that will be treated in code as blank? i can use "0" as false statement vs. "", but it messes other things up. any thoughts? thanks, mike allen |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
skipping empty cells that are not empty | Excel Programming | |||
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) | |||
macro to colour empty cells (cells not recognized as empty) | Excel Programming | |||
Can blank cells created using empty Double-Quotes not be empty?? | Excel Programming |