+ Reply to Thread
Results 1 to 6 of 6

Delete contents of blank cells

  1. #1
    Forum Contributor
    Join Date
    06-13-2008
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    277

    Delete contents of blank cells

    I have a strange request for a macro.

    I need something that will find all blank cells in a range, select the cell and press the delete key for all blank cells in the range.

    The reason: I am pulling data using an array formula and applying conditional formatting that fills the cell red, for some reason half the blank cells dont apply the formatting, but when I go to the main data and press delete on the cell it reapplies the formatting on the array correctly. The cells are definitely blank, i have made sure there are no spaces etc.

    Thanks for any help!

    F

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Delete contents of blank cells

    Try this

    http://www.mvps.org/dmcritchie/excel/join.htm#trimall
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor
    Join Date
    06-13-2008
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    277

    Re: Delete contents of blank cells

    Thanks for the suggestion Jeff,

    There are a lot of macros on that page, which one would you suggest?

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Delete contents of blank cells

    Try

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    06-13-2008
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    277

    Re: Delete contents of blank cells

    Sorry Jeff! i was being stupid!

    It worked perfectly!

    Eternal Thanks!

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Delete contents of blank cells

    You are very welcome and glad it worked out for you...

    Thanks for the feedback...

+ 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