+ Reply to Thread
Results 1 to 4 of 4

Skipping Coloured Cell when Using Conditional Formatting

  1. #1
    Forum Contributor
    Join Date
    07-30-2014
    Location
    Mosman, Australia
    MS-Off Ver
    2013
    Posts
    118

    Skipping Coloured Cell when Using Conditional Formatting

    Hi,

    So someone else helped me out getting the following VBA, which is great and works:

    Please Login or Register  to view this content.
    However only one tiny problem, the VBA doesn't seem to work on cells that are conditionally formatted using a formula that have the same RGB color.

    I have a conditional format that if a cell in a column on another sheet has the letter "X" in it, then the same cell on the current sheet will automatically change to the RGB color. This is working fine. The VBA won't skip these cells however, it will only skip the cells that i manually fill with the selected RGB color, however i don't want to have to manually color these cells.

    Is there a way the VBA will work when the conditional formatting is in place too?

    Many thanks

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Skipping Coloured Cell when Using Conditional Formatting

    A quick possibility , if the conditional format is in the first equation
    Please Login or Register  to view this content.
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Contributor
    Join Date
    07-30-2014
    Location
    Mosman, Australia
    MS-Off Ver
    2013
    Posts
    118

    Re: Skipping Coloured Cell when Using Conditional Formatting

    Hi PCI,

    Thanks for the macro, it seems to be partially working. Except it keeps skipping over two cells at a time, even ones that are white, I only want it to skip the black cells. I've attached a copy of the file with your macro in it. Could you please have a look at it and alter what needs to be done, I would greatly greatly appreciate it.

    Apologies this return email has taken months, I've been busy with other stuff and haven't checked.

    Thank you!
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Skipping Coloured Cell when Using Conditional Formatting

    "I only want it to skip the black cells"
    The purpose is clear now.
    It looks difficult to access to the Conditional Format to check if it is active or not and I failed to check it.
    I suggest to restart a new thread:
    When a cell is selected you want to shift to the next one (in the column) if for that cell, there is a format or a conditional format set to RGB (0,0,0)

+ 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. [SOLVED] counting of coloured cell in conditional formatting in excel 2007
    By rajuj in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-16-2014, 11:27 PM
  2. How can I count coloured cells (coloured using Conditional Formatting)
    By franfry in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-15-2013, 02:40 PM
  3. [SOLVED] Adding only cells coloured using conditional formatting
    By FranAgrippina in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2013, 08:49 AM
  4. Count Coloured cells (conditional formatting)
    By MaddieRoberts in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-19-2012, 08:46 AM
  5. Excel 2007 : Conditional formatting & Coloured data bars
    By alex Kurtz in forum Excel General
    Replies: 7
    Last Post: 01-29-2009, 06:20 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