Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default grid lines covered up

i've brought this up before ... just want to see if anyone has some fresh
input ......

The problem stems from the fact Excel paints the grid before it fills the
background color of any ranges for which

Range.Interior.ColorIndex < xlColorIndexNone

So, filling a range with a color overwrites the grid-lines for the cells in
that range.

Given that it is quite common to want to hi-lite rows, or columns, of a
sheet in various ways .....

I am thinking that someone out there has perfected some code to quickly
ensure that a replica of the grid is written over those ranges whose
interior fills have covered up the original grid .... ?

Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default grid lines covered up

With Conditional Formatting one sets the cells borders,
which can also be done in code.
Use nmacro-recorder to get a feel for the code.

Patrick Molloy
Microsoft Excel MVP


-----Original Message-----
i've brought this up before ... just want to see if

anyone has some fresh
input ......

The problem stems from the fact Excel paints the grid

before it fills the
background color of any ranges for which

Range.Interior.ColorIndex < xlColorIndexNone

So, filling a range with a color overwrites the grid-

lines for the cells in
that range.

Given that it is quite common to want to hi-lite rows,

or columns, of a
sheet in various ways .....

I am thinking that someone out there has perfected some

code to quickly
ensure that a replica of the grid is written over those

ranges whose
interior fills have covered up the original grid .... ?

Thanks.


.

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
Grid lines Reen[_2_] Excel Discussion (Misc queries) 2 April 21st 09 04:24 PM
Grid lines in Excel not showing.Have tools,options,view/grid cked bajlearning Excel Discussion (Misc queries) 6 January 28th 07 02:00 AM
Getting rid of grid lines opilander Excel Discussion (Misc queries) 4 January 27th 06 11:15 AM
printing grid lines when grid lines is checked fergos Setting up and Configuration of Excel 1 October 4th 05 02:55 AM
Grid Lines Nelson Charts and Charting in Excel 1 May 5th 05 07:56 PM


All times are GMT +1. The time now is 11:02 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"