Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
DrJeckyl
 
Posts: n/a
Default highlight cursor in Excel

In the old day in Excel you had th ability to hightlight the cursor. Doe
anybody know how we can do that? In today's Excel.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
Kevin B
 
Posts: n/a
Default highlight cursor in Excel

Putting the following code in the worksheet's Selection Change event will
color the active cell dark red, with a white font. Setting the remaining
cells to standard background and foreground colors.


Private Sub Worksheet_SelectionChange(ByVal Target As Range)

With ActiveSheet.Cells.Interior
.ColorIndex = xlNone
End With
ActiveSheet.Cells.Font.ColorIndex = vbBlack

With Selection.Interior
.ColorIndex = 9
.Pattern = xlSolid
End With

Selection.Font.ColorIndex = 2

End Sub

--
Kevin Backmann


"DrJeckyl" wrote:

In the old day in Excel you had th ability to hightlight the cursor. Doe
anybody know how we can do that? In today's Excel.

Thanks

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Microsoft Excel in Microsoft works - how to open R J Gavin Excel Discussion (Misc queries) 3 September 16th 05 08:29 PM
How do i delete a macro in Excel 2003 when delete isn't highlight Abel Excel Discussion (Misc queries) 2 September 13th 05 04:09 AM
How to highlight an Excel row by clicking on a cell Marikay Excel Worksheet Functions 1 September 8th 05 02:47 PM
Highlight ing of active line within excel glen2351 Excel Discussion (Misc queries) 1 January 4th 05 01:10 PM


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