Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default 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   Report Post  
Posted to microsoft.public.excel.programming
GS GS is offline
external usenet poster
 
Posts: 364
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
average range of cells with zero and blanks Lisa Excel Discussion (Misc queries) 3 June 24th 08 09:10 PM
Take an average of a range of cells but exlude blanks from that av B G Excel Discussion (Misc queries) 4 October 12th 06 02:46 PM
copy range of cells with blanks then paste without blanks justaguyfromky Excel Worksheet Functions 1 September 3rd 06 07:56 PM
sumproduct of part cells of a range with blanks excelFan Excel Discussion (Misc queries) 4 February 25th 05 10:37 PM
How do i get an average that ignores blanks in the range of cells. ucastores Excel Worksheet Functions 7 November 11th 04 05:01 PM


All times are GMT +1. The time now is 09:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"