+ Reply to Thread
Results 1 to 2 of 2

Range Change

  1. #1
    Aaron
    Guest

    Range Change

    I would like to have code to select a range of cells and change any cell
    value that is <0 to 0.

    Thanks,
    Aaron

  2. #2
    Tom Ogilvy
    Guest

    RE: Range Change

    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


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1