View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.misc
speerchucker30x378 speerchucker30x378 is offline
external usenet poster
 
Posts: 6
Default worksheet set to highlite a cell while data is being entered



"speerchucker30x378" wrote:



"Rick Rothstein" wrote:

When I select a cell, it is automatically highlighted with a heavy border
around it, so I'm guessing you have something else in mind... if you
describe what it is, maybe we can help you out. Just so you know, whatever
you describe for us will probably require VB code, so be prepared for that.

--
Rick (MVP - Excel)


"speerchucker30x378" wrote in
message ...
Can excel be set so that the active cell is highlighted while data is
entered?


.
I have a simple invoice system that pretty much had to be custom made for an odd industry. Many of the cells are already surrounded by a border so when I select those cells to enter data into them the highlighted border virtually disappears. If I leave for a moment or two I have to re-select the cell as I can not see which one I have left open.





Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Static mytarget As Range
If Not mytarget Is Nothing Then mytarget.Interior.ColorIndex = xlNone
Target.Interior.ColorIndex = 8 (THIS SEEMS TO BE WHERE IT HANGS UP) Jacob
Set mytarget = Target
End Sub