My bet is that you didn't put the code in the correct module.
In excel, Rightclick on the worksheet tab that should have this behavior.
Select view code
paste your procedure into the code window that just opened.
And make sure that macros are enabled and events are enabled, too.
Inside the VBE:
hit ctrl-g (to see the immediate window)
type:
application.enableevents = true
and hit enter.
Then back to excel to test.
JingleRock wrote:
>
> Dave,
>
> Thanks for your response and suggestion.
> For some reason, my Worksheet_Change event is not working at all.
> For example, I commented-out my Sheet1 Module and replaced it with:
>
> Private Sub Worksheet_Change(ByVal Target As Range)
> Target.Interior.ColorIndex = 3
> End Sub
>
> Then, I enter text in various cells of Sheet1 and there is zero color
> change. Any ideas?
--
Dave Peterson
|