How is the number in A7 derived? Manually or by formula?
Example code for a formula-derived result in A7. Edit to Worksheet_Change
if manually input.
Private Sub Worksheet_Calculate()
'Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo stoppit
Application.EnableEvents = False
With Me.Range("A7")
If .Value >= 10 Then
Call macroname
End If
End With
stoppit:
Application.EnableEvents = True
End Sub
Thanks, worked well
I will now be able to use this principal a lot
Dave
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.