HotXLS-dokumentaatio Sisältö Etusivu Yleiskatsaus TGridToXLS IXLSWorkbook Etusivu Sisältö Yleiskatsaus

HasFormula ominaisuus

Palauttaa True if at least one cell in the range contains a Formula; otherwise, False

Syntaksi

property HasFormula: boolean;

Esimerkki

This example checks if the Worksheet one contains Formula
if Workbook.Sheets[1].UsedRange.HasFormula then begin //do something end; This example checks if the cell A1 contains Formula
if Workbook.Sheets[1].Cells[6,1].HasFormula then begin //do something end; Copyright © 2010-2026 losLab Software