ExcelGetCellIsEmpty
Estrutura
ExcelGetCellIsEmpty(iRow, iCol)
Tipo
Função
Descrição
Esta função devolve «1» se a célula indicada da folha atual estiver em branco e «0» caso contrário.
Parâmetros: 2
iRow = A linha da célula. 1 é a linha superior.
iCol = A coluna da célula. 1 corresponde à coluna A
Exemplo
Experimente
ExcelNewFile(3, "v2003")
ExcelGetSheetByIndex(1)
ShowMessage(ExcelGetCellIsEmpty(1,1)) 'Retorna "1"
ExcelSetCellAsNumber(1,1,1,1)
ShowMessage(ExcelGetCellIsEmpty(1,1)) 'Retorna "0"
Exceto
ShowMessage(LastExceptionMessage)
Fim da tentativa