A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Cell indicator



 
 
Thread Tools Display Modes
  #1  
Old September 11th, 2006, 10:23 PM posted to microsoft.public.excel.misc
D''Wanna
external usenet poster
 
Posts: 1
Default Cell indicator

Can you change the color of the black rectangle the indicates what cell you
are in? I have someone who is making the cells in their table black so when
they use the arrow key to move from one cell to another its white and they
have a hard time telling what cell they are in. They don't want to change
the black border of the cells in the table. Can they change the cell
indicator to red or pink something that shows up better.
  #2  
Old September 11th, 2006, 10:35 PM posted to microsoft.public.excel.misc
Bob Phillips
external usenet poster
 
Posts: 161
Default Cell indicator

Try this alternative approach

'----------------------------------------------------------------
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
'----------------------------------------------------------------
Cells.FormatConditions.Delete
With Target
With .EntireRow
.FormatConditions.Add Type:=xlExpression, Formula1:="TRUE"
With .FormatConditions(1)
With .Borders(xlTop)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = 5
End With
With .Borders(xlBottom)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = 5
End With
.Interior.ColorIndex = 20
End With
End With
With .EntireColumn
.FormatConditions.Delete
.FormatConditions.Add Type:=xlExpression, Formula1:="TRUE"
With .FormatConditions(1)
With .Borders(xlLeft)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = 5
End With
With .Borders(xlRight)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = 5
End With
.Interior.ColorIndex = 20
End With
End With


.FormatConditions.Delete
.FormatConditions.Add Type:=xlExpression, Formula1:="TRUE"
.FormatConditions(1).Interior.ColorIndex = 36
End With


End Sub


--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"D''Wanna" wrote in message
...
Can you change the color of the black rectangle the indicates what cell

you
are in? I have someone who is making the cells in their table black so

when
they use the arrow key to move from one cell to another its white and they
have a hard time telling what cell they are in. They don't want to change
the black border of the cells in the table. Can they change the cell
indicator to red or pink something that shows up better.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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