Hello world!
In a (sometimes quite large) range, I need to "weed out" values that are less than the Integer "X" (given by the user from a User Form). Cells contain formulas originally, but most formulas already return "". Formulas need not be preserved.
The following code works, but is excruciatingly slow.
Any way to speed things up?
In a (sometimes quite large) range, I need to "weed out" values that are less than the Integer "X" (given by the user from a User Form). Cells contain formulas originally, but most formulas already return "". Formulas need not be preserved.
The following code works, but is excruciatingly slow.
Code:
For Each Cell In Selection
If Cell.Value < X Then
Cell.Value = ""
End If
Next Cell
Any way to speed things up?