D
Dick Minter
I want to step through a range clearing the contents of
cells with number values, but not formulas. The following
code doesn't work:
If ActiveCell.Offset(currow - 1, 0).Type <>
xlCellTypeFormulas Then
ActiveCell.Offset(currow - 1, 0).ClearContents
End If
Does the constant "xlcelltypeformulas" only work with
the "specialCells" method? Is there another solution?
DM
cells with number values, but not formulas. The following
code doesn't work:
If ActiveCell.Offset(currow - 1, 0).Type <>
xlCellTypeFormulas Then
ActiveCell.Offset(currow - 1, 0).ClearContents
End If
Does the constant "xlcelltypeformulas" only work with
the "specialCells" method? Is there another solution?
DM