Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
average range of cells with zero and blanks | Excel Discussion (Misc queries) | |||
Take an average of a range of cells but exlude blanks from that av | Excel Discussion (Misc queries) | |||
copy range of cells with blanks then paste without blanks | Excel Worksheet Functions | |||
sumproduct of part cells of a range with blanks | Excel Discussion (Misc queries) | |||
How do i get an average that ignores blanks in the range of cells. | Excel Worksheet Functions |