G
Guest
How do I automatically have a cell highlight when it is selected, regardless
to where the location is in the spreadsheet?
to where the location is in the spreadsheet?
Carim said:Hi Rhonda,
Use the following code :
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
Cells.Interior.ColorIndex = xlNone
Target.Interior.ColorIndex = 6
End Sub
This code is to be inserted into the worksheet module ...
Left click on your worksheet tab
Select view
Paste the above code...
You are all set ...
HTH
Cheers
Carim
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.