Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Cells.Interior.ColorIndex = 0
Union(Target.EntireColumn, Target.EntireRow).Interior.ColorIndex = 40
End Sub
Change the ColorIndex value to suit your own personal tastes.
--
Rick (MVP - Excel)
"johnpotter94501" <johnpot...@discussions.microsoft.com> wrote in
message news:2DB03840-CBCF-45FC...@microsoft.com...
--
Rick (MVP - Excel)
"Rick Rothstein" <rick.new...@NO.SPAMverizon.net> wrote in message
news:OapeSq%23aKH...@TK2MSFTNGP05.phx.gbl...
'*************** START OF CODE ***************
Dim CrosshairModeOn As Boolean
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, _
Cancel As Boolean)
Cancel = True
CrosshairModeOn = Not CrosshairModeOn
If CrosshairModeOn Then
Union(Target.EntireColumn, Target.EntireRow).Interior.ColorIndex = 15
Else
Cells.Interior.ColorIndex = 0
End If
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If CrosshairModeOn Then
Cells.Interior.ColorIndex = 0
Union(Target.EntireColumn, Target.EntireRow).Interior.ColorIndex = 15
End If
End Sub
'*************** END OF CODE ***************
--
Rick (MVP - Excel)
"Max" <demec...@yahoo.com> wrote in message
news:ug4t9MEb...@TK2MSFTNGP05.phx.gbl...
--
Rick (MVP - Excel)
"johnpotter94501" <johnpot...@discussions.microsoft.com> wrote in
message news:BFC9432A-6EB5-4FAA...@microsoft.com...