Hello
In active sheet I use this VBA code to insert new rows just by double clicking mouse button.
The Code: ///
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
'Updateby Extendoffice 20160725
Application.ScreenUpdating = False
Cancel = True
If Intersect(Target, [C224:C424]) Is Nothing Then Exit Sub
Target.Offset(1).EntireRow.Insert
Target.EntireRow.Copy Target.Offset(1).EntireRow
On Error Resume Next
Target.Offset(1).EntireRow.SpecialCells(xlConstants).ClearContents
Application.ScreenUpdating = True
End Sub ///
I want to interrupted this VBA code when in active sheet Cell C4 has value TRUE for example
Thanks
In active sheet I use this VBA code to insert new rows just by double clicking mouse button.
The Code: ///
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
'Updateby Extendoffice 20160725
Application.ScreenUpdating = False
Cancel = True
If Intersect(Target, [C224:C424]) Is Nothing Then Exit Sub
Target.Offset(1).EntireRow.Insert
Target.EntireRow.Copy Target.Offset(1).EntireRow
On Error Resume Next
Target.Offset(1).EntireRow.SpecialCells(xlConstants).ClearContents
Application.ScreenUpdating = True
End Sub ///
I want to interrupted this VBA code when in active sheet Cell C4 has value TRUE for example
Thanks