Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default highlight but leave existing background color

hey all,

is there a way to highlight entire columns but leave cells that already have
a color in them alone?

thanks,
rodchar
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default highlight but leave existing background color


A quick test shows that if a cell has conditional formatting such that
it has a background color set by the conditional format, changing the
column color doesn't change the conditional formatted backgrould color.

If you have just one color you want to remain unchanged, you could
write a UDF (user defined function) that would return a True if the cell
had the background color. Then maybe you could use that function in the
rule portion of a conditional format that would set the background color
of the cell to that color.

It sounds odd - a conditional format to set a cell's background color
to color X if the cell already has color X as the background color, but
it might work to keep setting an entire column's color from changing
cells with the specified color.

Another possibly useful tidbit is that if a cell is merged with another
cell, changing the column color of any or all of the columns the merged
cells were in won't change the color of the merged cells - but trying to
use that may have a lot of other side-effects in your workbook.


--
jamescox
------------------------------------------------------------------------
jamescox's Profile: http://www.thecodecage.com/forumz/member.php?userid=449
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=111146

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
Checkbox to change background color, font color and remove/ add bo Sara Excel Discussion (Misc queries) 2 May 1st 23 11:43 AM
auto-filter in excel but leave cell background color tony Excel Discussion (Misc queries) 5 December 21st 06 02:47 AM
Leave existing data in a cell alone Running Out of Ideas Excel Worksheet Functions 1 March 30th 06 02:17 AM
Remove highlight background in cell DTTODGG New Users to Excel 1 November 21st 05 06:32 PM
Default Border, Font Color, and Cell Background Color Elijah Excel Discussion (Misc queries) 1 October 28th 05 04:10 PM


All times are GMT +1. The time now is 10:42 PM.

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

About Us

"It's about Microsoft Excel"