#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default highlight cursor row

A spreadsheet program (not sure which) I used to use would highlight the row
that the cursor was on when working in a spreadsheet. This helped in
scanning associated data in that row. Does Excel have this capability? I'm
not talking about changing the format of a row, just having it highlighted in
the view on screen as the cursor is moved from row to row.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default highlight cursor row

Follow this link to Chip Pearson's page, where he has a Row Liner you
can download.

Hope this helps.

Pete

KUlibacct wrote:
A spreadsheet program (not sure which) I used to use would highlight the row
that the cursor was on when working in a spreadsheet. This helped in
scanning associated data in that row. Does Excel have this capability? I'm
not talking about changing the format of a row, just having it highlighted in
the view on screen as the cursor is moved from row to row.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default highlight cursor row

Sorry,

I forgot the link:

http://www.cpearson.com/excel/RowLiner.htm

Pete

Pete_UK wrote:
Follow this link to Chip Pearson's page, where he has a Row Liner you
can download.

Hope this helps.

Pete

KUlibacct wrote:
A spreadsheet program (not sure which) I used to use would highlight the row
that the cursor was on when working in a spreadsheet. This helped in
scanning associated data in that row. Does Excel have this capability? I'm
not talking about changing the format of a row, just having it highlighted in
the view on screen as the cursor is moved from row to row.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default highlight cursor row


'----------------------------------------------------------------
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


'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"KUlibacct" wrote in message
...
A spreadsheet program (not sure which) I used to use would highlight the

row
that the cursor was on when working in a spreadsheet. This helped in
scanning associated data in that row. Does Excel have this capability?

I'm
not talking about changing the format of a row, just having it highlighted

in
the view on screen as the cursor is moved from row to row.



  #5   Report Post  
Junior Member
 
Posts: 1
Talking

This is the excellent and complete code ever I have found.
I really appreciate Bob's work.

Cheers

Quote:
Originally Posted by Bob Phillips View Post
'----------------------------------------------------------------
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


'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"KUlibacct" wrote in message
...
A spreadsheet program (not sure which) I used to use would highlight the

row
that the cursor was on when working in a spreadsheet. This helped in
scanning associated data in that row. Does Excel have this capability?

I'm
not talking about changing the format of a row, just having it highlighted

in
the view on screen as the cursor is moved from row to row.


  #6   Report Post  
Junior Member
 
Posts: 1
Smile

Quote:
Originally Posted by KUlibacct View Post
A spreadsheet program (not sure which) I used to use would highlight the row
that the cursor was on when working in a spreadsheet. This helped in
scanning associated data in that row. Does Excel have this capability? I'm
not talking about changing the format of a row, just having it highlighted in
the view on screen as the cursor is moved from row to row.
The Row Liner program is awesome! It is very obvious where the cursor is, and this helps me with FIND results, which I use all the time! Thank you so much for the great tool!
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
Highlight the entire row or particular cell using conditional formatting vsr_kmb New Users to Excel 1 August 20th 06 11:05 AM
Possible to highlight cells depending on value from vlook up? JAZZNAURA Excel Discussion (Misc queries) 11 August 18th 06 01:10 AM
Highlight a row automatically if a cell meets certain criteria simonvrowley Excel Worksheet Functions 5 March 16th 06 11:16 AM
Highlight all colums in Bar Graph Parveen Charts and Charting in Excel 1 October 29th 05 02:15 PM
How can I highlight every other group of data? Brandie Excel Discussion (Misc queries) 1 May 27th 05 06:26 PM


All times are GMT +1. The time now is 12:30 PM.

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"