+ Reply to Thread
Results 1 to 4 of 4

Delete rows with conditions

  1. #1
    Registered User
    Join Date
    07-22-2008
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    62

    Delete rows with conditions

    Hi,

    I know there are few threads on this problem. I've tried some of them but couldn't get the solution to my problem.

    In my worksheet, column G5:G100 which I have defined as "Amount" contains numbers and blanks. I want a macro where I can delete the whole row for cells that contains 0 and blanks.

    Would be grateful if somebody can help me with this problem.

    Thanks in advanced.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Try

    Please Login or Register  to view this content.
    rylo

  3. #3
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    macro

    Hi
    try these codes
    Please Login or Register  to view this content.
    Ravi

  4. #4
    Registered User
    Join Date
    07-22-2008
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    62
    Hi Ravi,

    Thanks but how can I incorporate a named range in the macro? I've named the cells range as "Amount". I need to have a named range because the cells i wanted the macro to check would always change.

+ 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