1. HasFormula
2. SpecialCells(xlCellTypeFormulas)
HasFormula will give True or False depending on the availabiliy of formulas
whereas
SpecialCells(xlCellTypeFormulas) can be used to select all the cells that contain formula
cells.SpecialCells(xlCellTypeFormulas).Select
or Set rng = cells.SpecialCells(xlCellTypeFormulas)
For each Cll in Rng
' Each cell containing formula
Next
Cheers
Shasur
what is the definition of a formula in Excel? is it just any cell that starts with an equals sign?
ReplyDelete