I have an existing macro that performs a screen capture of the excel sheet if a particular cell is greater than -0.03. Currently this cell is a formula that is based on real time data from external sources. I am able to run this macro manually, but I want it to be run continuously, i.e. automatically take screenshots of the worksheet every time that cell is greater than -0.03.
Here is my code so far;
Private Sub Worksheet_Calculate()
If range("d81")>-0.03 Then
Application.EnableEvents = False
Call ScreenCapture
Application.EnableEvents = True
End If
Application.ScreenUpdating = False
Application.DisplayAlerts = False
End Sub
Please can someone help?