+ Reply to Thread
Results 1 to 9 of 9

Automatically row changes color

  1. #1
    Registered User
    Join Date
    10-07-2015
    Location
    sydney
    MS-Off Ver
    13
    Posts
    7

    Automatically row changes color

    Hi
    i am looking for a code that colors 15 rows, then the next 15 rows are a different color and so on.... i would like to also add a button to execute this and that it works on multiple worksheets in a workbook. any help on this would be much appreciated

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

    Re: Automatically row changes color

    Every 15 rows for a million+ rows?

  3. #3
    Registered User
    Join Date
    10-07-2015
    Location
    sydney
    MS-Off Ver
    13
    Posts
    7
    Quote Originally Posted by jolivanes View Post
    Every 15 rows for a million+ rows?
    No, sorry should of explained it better, blocks of 15 rows 52 times each time different colour for each block

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

    Re: Automatically row changes color

    Please Login or Register  to view this content.

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

    Re: Automatically row changes color

    Two more.
    Your request has a tremendous amount of possibilities so without concrete numbers it is a wild guess
    Please Login or Register  to view this content.
    Following has 6 different colors repeatedly used. Can be extended of course.
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    10-07-2015
    Location
    sydney
    MS-Off Ver
    13
    Posts
    7

    Re: Automatically row changes color

    Thanks jolivanes,
    it works great.. appreciate it.
    Is there a way i can have it start on a particular row number eg. A17

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

    Re: Automatically row changes color

    Change the 1 (one) to 17
    Please Login or Register  to view this content.
    becomes
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    10-07-2015
    Location
    sydney
    MS-Off Ver
    13
    Posts
    7

    Re: Automatically row changes color

    Fantastic...
    Im just curious.. if i only want the colour the rows from column A to column P.. what would i put instead of entirerow ?

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

    Re: Automatically row changes color

    Change all the
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    and remove all the ".EntireRow" wherever it appears.

+ 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] Cell Count If Background Color is a Certain Color - Automatically
    By woutie in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-10-2018, 08:20 AM
  2. tab automatically change color
    By Skitzman in forum Excel General
    Replies: 1
    Last Post: 07-03-2018, 11:28 AM
  3. [SOLVED] Automatically color bars in chart based on color in cell
    By D-smoke in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2018, 04:10 AM
  4. How to automatically sum based upon interior fill color when the fill color changes
    By Murman01 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-10-2017, 10:41 AM
  5. Automatically Color Coding
    By rusty8809 in forum Excel General
    Replies: 2
    Last Post: 01-28-2013, 04:14 PM
  6. Replies: 3
    Last Post: 07-08-2010, 06:48 PM
  7. Color a cell and a value is automatically assigned to that color.
    By Bossi in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-03-2005, 01:06 AM

Tags for this Thread

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