I would like to have code to select a range of cells and change any cell
value that is <0 to 0.
Thanks,
Aaron
I would like to have code to select a range of cells and change any cell
value that is <0 to 0.
Thanks,
Aaron
Sub changetoZero()
for each cell in selection
if isnumeric(cell) then
if cell.value < 0 then cell.value = 0
end if
Next
end sub
--
Regards,
Tom Ogilvy
"Aaron" wrote:
> I would like to have code to select a range of cells and change any cell
> value that is <0 to 0.
>
> Thanks,
> Aaron
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks