+ Reply to Thread
Results 1 to 4 of 4

Code to clear cells in a range which are not highlighted

  1. #1
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    469

    Code to clear cells in a range which are not highlighted

    Hi All,

    Looking for some code to clear cells which are not highlighted

    i.e. clear everything from row 2 downwards (Columns I:P) but exclude cells which are highlighted (not conditional formatting)

    Thanks
    Last edited by Gti182; 05-15-2014 at 08:49 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Code to clear cells in a range which are not highlighted

    How are the cells highlighted?
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    469

    Re: Code to clear cells in a range which are not highlighted

    cells are highlighted by the user with the fill colour option

  4. #4
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    469

    Re: Code to clear cells in a range which are not highlighted

    this works

    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. Need code to searches every row in range and clear rows with sequential numbers.
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2013, 10:56 AM
  2. Clear range based on cell value - clearing cells out of specified range
    By CADiphile in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-15-2013, 02:48 PM
  3. [SOLVED] Setting the range as only those cells selected/ highlighted
    By strud in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-18-2013, 06:45 AM
  4. [SOLVED] VBA Clear Cells for one range if cell in other range is blank
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-03-2013, 06:23 PM
  5. [SOLVED] Macro needed to clear cells in range based on value of cells in another range
    By msmith7113 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-05-2013, 12:32 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