Could anyone please tell me how do I make my sub procedure run, if any cell in the workbook has it's value changed. I know it has something to do with the workbook.sheetchange event but I can't quite figure it out. Thanks in advance :).
Asked
Active
Viewed 31 times
0
-
[THIS](http://stackoverflow.com/questions/13860894/ms-excel-crashes-when-vba-code-runs/13861640#13861640) will get you started – Siddharth Rout Nov 18 '13 at 22:39
1 Answers
0
In the ThisWorkbook
code module:
Private Sub Workbook_SheetChange(ByVal Sh As Object, _
ByVal Target As Range)
Debug.Print "Range " & Target.Address() & _
" was changed on sheet '" & Sh.Name & "'"
End Sub

Tim Williams
- 154,628
- 8
- 97
- 125