毛毛的記事簿
毛毛的學習筆記
顯示具有
VBA
標籤的文章。
顯示所有文章
顯示具有
VBA
標籤的文章。
顯示所有文章
2012年5月23日 星期三
How to detect (and execute macro) the value change in specific cell in Excel
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Sheets("Sheet1").Range("Your range")) Is Nothing Then
Application.EnableEvents = False
'Do something here
Application.EnableEvents = True
End If
End Sub
較舊的文章
首頁
訂閱:
文章 (Atom)