Results 1 to 6 of 6

How to delete cells (i.e. make a blank cell) if numbers are negative

Threaded View

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    28

    How to delete cells (i.e. make a blank cell) if numbers are negative

    Folks,
    I am very new to VBA and want to know how to delete cells containing any number less than 0 (i.e. negative value) using Excel VBA.
    I'd like to do it for all rows (more than 80000) in column E, F, G, H.

    For example

    a.JPG

    then the result should look like

    b.JPG

    making every negative number cell "blank".
    Can anyone give me the code to do this?

    Thank you in advance for your help.
    Last edited by geomatics; 06-22-2012 at 04:06 PM.

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