View Single Post
Old 26-05-2005, 10:27   #4
gazzae
Inactive
 
gazzae's Avatar
 
Join Date: Jun 2003
Location: Belfast
Age: 46
Posts: 4,594
gazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronze
gazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronze
Re: Microsoft Excel Help Needed

Stick this into the worksheet change function...


ActiveCell.Offset(-1, 0).Interior.ColorIndex = 3

Whenever a cell is changed that will make the cell red.

You may need to play about with it as if they click on a cell to change it and instead of hitting enter they click on another cell it will change the wrong cell red. But at least it gives you a starting point.
__________________

actually, ignore that, here is how to do it properly.

Put this under worksheet change, it will chage the correct cell.

strrow = Target.Row
strcolumn = Target.Column
Cells(strrow, strcolumn).Interior.ColorIndex = 3
gazzae is offline   Reply With Quote