View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
st120869[_6_] st120869[_6_] is offline
external usenet poster
 
Posts: 1
Default changing bacground colour if formula altered


Hello,
I have used the scrpit below to change the background colour of any
cell contacts that have been changed. I would like to adapt it to only
change cells when the user changes a formula inside the cells.

I do not want to protect the cell contents

Private Sub Worksheet_Change(ByVal Target As Range)
Target.Interior.ColorIndex = 37
Target.Interior.Pattern = xlSolid
End Sub


--
st120869
------------------------------------------------------------------------
st120869's Profile: http://www.excelforum.com/member.php...o&userid=18330
View this thread: http://www.excelforum.com/showthread...hreadid=496630