+ Reply to Thread
Results 1 to 5 of 5

Interior Color every other row

  1. #1
    Forum Contributor
    Join Date
    12-11-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    517

    Interior Color every other row

    I cant seem to figure out why its not coloring every other row to the entire data but stops half way through. Can someone please take a look at this. Thanks

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Interior Color every other row

    It may not looping through the entire rows.
    Try

    Please Login or Register  to view this content.
    and change this line

    Please Login or Register  to view this content.
    INTO

    Please Login or Register  to view this content.

  3. #3
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Interior Color every other row

    Try

    Please Login or Register  to view this content.
    Martin

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Interior Color every other row

    If your data starts at A19 and goes to A50, and you reference the UsedRange.Rows.Count will be 31, but your range will only extend from A19:A31.

    Instead, I'd go with:

    Please Login or Register  to view this content.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  5. #5
    Forum Contributor
    Join Date
    12-11-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    517

    Re: Interior Color every other row

    Thanks...worked great!

+ 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] Conditional Formatting like Color Scale but doing it via Interior.Color
    By Hyflex in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2015, 06:36 AM
  2. VBA changes Interior Color to a random color not specified in code
    By ashblastawayyy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-31-2013, 05:49 PM
  3. Find a duplicate and then use the duplicates interior.color to change cell color.
    By bopsgtir in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2012, 03:54 PM
  4. font color equals interior color
    By glenness in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-12-2009, 03:47 PM
  5. Cell background color (interior color) setting not working
    By Martin E. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2006, 02:10 PM
  6. Passing Back Color to Interior Color
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2005, 01:06 PM

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