Worksheet_change event assistance
The event code should be triggered by either setting M7 or clearing M7. I
would look very carefully at FillOutReport and any other macros to insure
they are not causing Application.EnableEvents to become false. This would
cause your symptoms. Also as a general preventative measure, use:
Application.EnableEvents=FLASE
Call FillOutReport
Application.EnableEvents=TRUE
If your condition does not improve, update the post.
--
Gary''s Student - gsnu200769
"Dr. Schwartz" wrote:
Please help me out!
I have this piece of code:
Public Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Target, Range("M7")) Is Nothing Then
FillOutReport
End If
End Sub
I want to change it so that FillOutReport also is called when the M7 is
cleared - meaning any change in the cell should call FillOutReport.
Anyone able to solve this?
Thanks
The Doctor
|