+ Reply to Thread
Results 1 to 6 of 6

Macro that deletes data in cells with no colors

  1. #1
    Forum Contributor
    Join Date
    07-22-2012
    Location
    Spain
    MS-Off Ver
    Excel 2008
    Posts
    304

    Macro that deletes data in cells with no colors

    Good afternoon,

    Does someone knows why this code doesn't delete the data in the cells where there is no color on them?

    Please Login or Register  to view this content.
    Thanks!

    Regards,

  2. #2
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: Macro that deletes data in cells with no colors

    Try this.
    Please Login or Register  to view this content.
    Kind regards, Harry.

  3. #3
    Forum Contributor
    Join Date
    07-22-2012
    Location
    Spain
    MS-Off Ver
    Excel 2008
    Posts
    304

    Re: Macro that deletes data in cells with no colors

    Hello Harry,

    It works but takes really too long to run. Several minutes...

    The macro runs 5 codes like the one obove over thousands of cells and it goes one by one clearing.

    I don't know really if there is a quicker way of doing it. Should be.

    Thanks for the help

  4. #4
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: Macro that deletes data in cells with no colors

    Maybe?
    Please Login or Register  to view this content.
    How does the original code look like?

  5. #5
    Forum Contributor
    Join Date
    07-22-2012
    Location
    Spain
    MS-Off Ver
    Excel 2008
    Posts
    304

    Re: Macro that deletes data in cells with no colors

    It doesnt work...

    Originally it was like this:

    Please Login or Register  to view this content.
    And this one works but takes like 3 or 4 minutes to run. And Ive got 5 codes like this so at the end takes like 20min to run the macro!!

    I dont know really how to reduce time from it but there must be a way for sure. I think Im taking the longest way...

    Thanks again

  6. #6
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: Macro that deletes data in cells with no colors

    I have a timer placed into the macro.
    De macro runs about 0,171875 sec. on my Pc.

    Please Login or Register  to view this content.
    Last edited by HSV; 07-24-2012 at 01:59 PM.

+ 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