+ Reply to Thread
Results 1 to 3 of 3

Clearing multiple cells specified by beckground color or any idea how to do this quickly

  1. #1
    Registered User
    Join Date
    11-05-2019
    Location
    Warsaw, Poland
    MS-Off Ver
    Office 2019
    Posts
    4

    Clearing multiple cells specified by beckground color or any idea how to do this quickly

    Hello
    I try to resolve some problem. I use one workbook with about 20 worksheet. When I start to calculate new data I have to celar many cells in all of this sheets, tis cells are in many areas of sheets. I do this manually. I was thinking is this posiible to to clear data using VBA for example only in cells with specific background color ? It will be easy tu use in future when I will make some modifications in workbook. I will have to make only one think to do - change beckgraund color in specific cells.
    Or mayby somebody have other idea how to make excell user more easy ?
    Best Regards

  2. #2
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,541

    Re: Clearing multiple cells specified by beckground color or any idea how to do this quick

    This would clear the cells with a value < 0 in all sheets.
    Please Login or Register  to view this content.
    And this would clear the Value and the Cell color if the fill is red.
    Please Login or Register  to view this content.
    Last edited by jolivanes; 11-09-2019 at 03:18 PM. Reason: more info

  3. #3
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,009

    Re: Clearing multiple cells specified by beckground color or any idea how to do this quick

    This code will clear the content of cells with yellow background & then clear the background color. It uses loop only for iterating through worksheets but not for the replacement part, so it should be faster.

    Please Login or Register  to view this content.

+ 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. Replies: 14
    Last Post: 03-21-2018, 07:05 PM
  2. How can I extend the range of formula for multiple cells quickly
    By taylorsm in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-03-2017, 01:24 PM
  3. How can I move multiple cells more quickly and repeat it several times.
    By dustinshaw in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-17-2016, 08:50 PM
  4. Assign variables to multiple cells quickly
    By gandhiad in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-17-2015, 05:01 PM
  5. Replies: 11
    Last Post: 01-17-2013, 08:50 PM
  6. [SOLVED] Is updating Excel cells from multiple threads a bad idea?
    By Hans Merkl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2005, 04:35 AM
  7. Clearing multiple cells in 1 click?
    By Lewis Koh in forum Excel Formulas & Functions
    Replies: 103
    Last Post: 09-06-2005, 07:05 PM

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