+ Reply to Thread
Results 1 to 4 of 4

Code to Clear Contents if values is zero

  1. #1
    Registered User
    Join Date
    11-06-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    29

    Code to Clear Contents if values is zero

    Hi,

    is there a code to clear contents of a cell with zero values, i have a huge
    excel file (15-16 MB) it has a lot of zero values i want to get rid off.


    Thanks in advance.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Code to Clear Contents if values is zero

    Check out this thread from a few days ago

    Edit the code to clear contents instead of Deleting Rows.

    http://www.excelforum.com/excel-prog...66#post3200666

    Attach a sample workbook if you can't get to work for your situation.
    Last edited by davesexcel; 04-19-2013 at 07:33 PM.

  3. #3
    Registered User
    Join Date
    11-06-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: Code to Clear Contents if values is zero

    Daveexcel,

    i think this one will delete the entire row, i only want to delete/clear
    the contents of specific cells w/ zero values.


    Thanks,
    Chico

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Code to Clear Contents if values is zero

    Did you read my entire post?

+ 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