Color Indicator

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

Is there a means of changing the color of box indicator in
which the cell you move to is diferent. Another words
everytime you move to another cell the cursor which is a
standard black outlined can be changed. Thanks for your
help, hope this was a descriptive enough question.
 
If you mean you want the activecell to constantly be say "Yellow", then
paste the following into the module named Thisworkbook:

Sub Workbook_SheetSelectionChange(ByVal Sh As Object, _
ByVal Target As Excel.Range)
On Error Resume Next
Sh.Cells.Interior.ColorIndex = xlColorIndexNone
Target.Interior.ColorIndex = 6 ' yellow - change as needed
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top