+ Reply to Thread
Results 1 to 4 of 4

Color Code rows

  1. #1
    Registered User
    Join Date
    07-17-2007
    Posts
    1
    Quote Originally Posted by mudraker
    Try this macro

    It uses most of the 32 palette colours, skips white, black & dark blues
    If you have titles in row 1 then 3 numbers shown in the following macro in red will need to be increased by 1

    Please Login or Register  to view this content.
    Can you make it so that only two color are used? Something light like every other color light grey? Thank you for your time MUDRAKER!

  2. #2
    Forum Contributor boylejob's Avatar
    Join Date
    02-22-2007
    Location
    Forest City, NC
    MS-Off Ver
    2003
    Posts
    562
    honestabe123,

    If you are wanting to go down a column and change the row color on every other line for every row that has a value in column A, you can use this.
    Please Login or Register  to view this content.
    Of course you can change it to look at any column you want it to look at by modifying this
    Please Login or Register  to view this content.
    I'm not exactly sure what you are looking for, but maybe this will get you started.
    Sincerely,
    Jeff

  3. #3
    Valued Forum Contributor
    Join Date
    08-26-2006
    Location
    -
    MS-Off Ver
    2010
    Posts
    388
    Quote Originally Posted by boylejob
    Please Login or Register  to view this content.
    This can be simplified by using Mod to test for an odd or even row number, as follows:

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor boylejob's Avatar
    Join Date
    02-22-2007
    Location
    Forest City, NC
    MS-Off Ver
    2003
    Posts
    562
    TJ,

    Thanks for that simplification. I knew I had seen something that would allow me to determine if a number was odd or even, but I certainly could not think what it was.

    This is what this forum is all about.

+ 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