+ Reply to Thread
Results 1 to 2 of 2

setting color for range of cells blanks out gridlines

  1. #1
    Judy
    Guest

    setting color for range of cells blanks out gridlines

    I'm using the following to color alternating groups of rows

    stripe = Not stripe ' toggle to stripe the set of rows
    Set myrange = Range(Cells(rTop, 1), Cells(rEnd, 7))
    With myrange
    .Interior.Color = IIf(stripe, LightYellow, PlainWhite)
    end with

    It works for the color effect, but results in blotting out the gridlines for
    the
    individual cells. I have gridlines visible in Excel Options, and gridlines
    are still visible
    outside the range-groups that I colored.

    I've played with borders but can't seem to see a real solution. Do I have to
    treat the cells individually (with for each..next -- which seems very
    tedious )
    or is there some other (preferred) technique?

    Thanks.
    --
    Judy

  2. #2
    GS
    Guest

    RE: setting color for range of cells blanks out gridlines

    Hi Judy,

    Here's some sites with info you may find both helpful and interesting.

    http://www.xldynamic.com/source/xld.CF.html#rows

    http://www.cpearson.com/excel/banding.htm

    Good luck!
    Regards,
    GS

+ 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