Results 1 to 5 of 5

Thread: no color in rows which have the Total or Grand Total

  1. #1
    Senior Member
    Join Date
    Mar 2013
    Posts
    107
    Rep Power
    12

    no color in rows which have the Total or Grand Total

    Hi

    On the data sheet XFLOW A for 13/9/2013 & 14/9/2013 for Total the rows are blue....can all rows with either Total or Grand Total have no color...no color in cells/rows which have the word Total or Grand Total

    Thanks again
    Attached Files Attached Files

  2. #2
    Member
    Join Date
    Jul 2012
    Posts
    55
    Rep Power
    12
    Quote Originally Posted by paul_pearson View Post
    Hi

    On the data sheet XFLOW A for 13/9/2013 & 14/9/2013 for Total the rows are blue....can all rows with either Total or Grand Total have no color...no color in cells/rows which have the word Total or Grand Total

    Thanks again

    Hi,

    You're so insistent.
    Remove the setting from conditional formatting.

  3. #3
    Senior Member
    Join Date
    Mar 2013
    Posts
    107
    Rep Power
    12
    Hi

    Nothing wrong with being insistent

    This has nothing to do with C.F

    Thanks

  4. #4
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    paul, it is just about removing the color using No Fill. With due respect to Ingolf, I don't think that has anything to do with CF, you are right. But I also didn't think you tried correcting it yourself either.

    Ingolf, it would be wise not to post personal comments.
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  5. #5
    Senior Member
    Join Date
    Mar 2013
    Posts
    107
    Rep Power
    12
    Hi ExcelFox
    Thanks
    I am slowly learning VBA ( alot from this site)
    I did try by adding the following code which i changed from bakerman original code(very helpful)...bakerman then came back and fixed it to work for other options

    I am not sure how to progress from removing the color in the rows which have the Words Total and Grand Total....i will have another look and see if i can get it...thanks again

    This is my code....but bakerman did change it further to work
    Code:
     With .Range("B" & Rows.Count).End(xlUp)
        .Offset(, 1).Resize(, 4).Interior.ColorIndex = 34
        .Offset(, 8).Resize(, 9).Interior.ColorIndex = 34
    Code:
     With .Range("B" & Rows.Count).End(xlUp)
        .Offset(, 5).Resize(, 12).Interior.ColorIndex = 34
    Code:
    With .Range("B" & Rows.Count).End(xlUp)
        .Offset(, 1).Resize(, 7).Interior.ColorIndex = 34 'INTERNAL
        .Offset(, 13).Resize(, 4).Interior.ColorIndex = 34 'INTERNAL
        .Offset(, 1).Resize(, 12).Interior.ColorIndex = 34 'EXTERNAL

Similar Threads

  1. Color Functions In Excel
    By Admin in forum Download Center
    Replies: 2
    Last Post: 10-24-2013, 11:44 AM
  2. Replies: 8
    Last Post: 12-28-2012, 11:10 AM
  3. Replies: 2
    Last Post: 10-20-2011, 10:15 AM
  4. How to condense several rows into fewer rows?
    By gavin_machine in forum Excel Help
    Replies: 2
    Last Post: 10-03-2011, 11:15 PM
  5. Replies: 2
    Last Post: 05-06-2011, 02:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •