+ Reply to Thread
Results 1 to 6 of 6

Delete entire row if cell C has data = 0

  1. #1
    Registered User
    Join Date
    03-31-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    3

    Delete entire row if cell C has data = 0

    Hi can guys can you help me with this one. Code below

    Please Login or Register  to view this content.
    Error says object required

    many thanks.

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Delete entire row if cell C has data = 0

    Please Login or Register  to view this content.
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  3. #3
    Registered User
    Join Date
    03-31-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Delete entire row if cell C has data = 0

    Quote Originally Posted by Solus Rankin View Post
    Please Login or Register  to view this content.

    What if Cell(i, 3) is equal to zero sir. How will I write the code? Is it still If Not Isempty?

  4. #4
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Delete entire row if cell C has data = 0

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-31-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Delete entire row if cell C has data = 0

    Another question sir. Take a look at my code.

    Please Login or Register  to view this content.
    I want only to have that formula only if C cell is not equal to 0..there are many 0 in column c since im referencing it only.

  6. #6
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Delete entire row if cell C has data = 0

    Is the 0 in column C a product of a formula?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. delete entire row if cell value below X
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-18-2013, 04:42 PM
  2. [SOLVED] Delete cell only with certain critria. Don't want to delete entire row, the celsl only
    By RobertOHare in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-16-2013, 04:18 AM
  3. Replies: 1
    Last Post: 05-10-2012, 04:58 PM
  4. Delete Row Data, Not Entire Row
    By dreicer_Jarr in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-02-2011, 02:33 PM
  5. Delete entire row when cell says delete
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-27-2007, 11:46 AM

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