Hi,
I am looking to see how to use the following Change function under Excel 2010 to run a macro within the worksheet.
I was previously using the Worksheets("scanupdate").OnData = "fivesecondscandelay" code to run my macro FiveSecondScanDelay (under Excel 2000/3), but for some reason not working in Excel 2010. I have ONE cell (A1) that has a value that updates about every 20-30 seconds, and then I want to use this "change" to run the FiveSecondScanDelay macro.
So I was looking into the following code:
How would I incorporate my macros to check whether cell A1 has changed on "scanupdate" worksheet?
Thanks!
I am looking to see how to use the following Change function under Excel 2010 to run a macro within the worksheet.
I was previously using the Worksheets("scanupdate").OnData = "fivesecondscandelay" code to run my macro FiveSecondScanDelay (under Excel 2000/3), but for some reason not working in Excel 2010. I have ONE cell (A1) that has a value that updates about every 20-30 seconds, and then I want to use this "change" to run the FiveSecondScanDelay macro.
So I was looking into the following code:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
End Sub
How would I incorporate my macros to check whether cell A1 has changed on "scanupdate" worksheet?
Thanks!