Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Highlighted cell color

How can I change the highlighted color for a range of selected cells?
--
JP
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Highlighted cell color

Right click sheet tabview codecopy paste this
Now whatever selection you make will be colored with number 6

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Cells.FormatConditions.Delete
With Target
.FormatConditions.Add Type:=xlExpression, Formula1:="TRUE"
.FormatConditions(1).Interior.ColorIndex = 6 '35
End With
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"JP" wrote in message
...
How can I change the highlighted color for a range of selected cells?
--
JP


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
preventing the color in a highlighted cell from printing Sally M Excel Discussion (Misc queries) 2 December 17th 07 01:39 PM
How do I count the number of cells highlighted a certain color? KSB Excel Worksheet Functions 2 October 17th 07 04:29 PM
formula to find out the color an excel cell is highlighted? Ted Excel Worksheet Functions 4 August 10th 07 05:16 PM
highlighted cell color kdadman Setting up and Configuration of Excel 4 May 24th 07 06:38 PM
How do I count cells that have are highlighted a certain color? NicoleE Excel Worksheet Functions 1 September 2nd 05 09:14 PM


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