james.billy
12/18/2006 2:13:00 PM
Hi Joe,
dim xCell as range, xRng as range
xRng = Range("A1:Z2000") '<- Replace with your range
for each xCell in xRng
if xCell >= 2000 then
xcell.clearcontents
end if
next xcell
This should hopefully get you started, any problems then post back.
James
joecrabtree wrote:
> To all,
>
> I have a worksheet full of numbers ( DATA1 ), I want a macro to be able
> to go throught this worksheet, and delete all values that are greater
> than or equal to 2000. Any ideas?
>
> Thanks in advance
>
> Joseph Crabtree