📌  相关文章
📜  分配给单元格的 vba 子 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:20.288000             🧑  作者: Mango

代码示例1
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
 
If Target.Address = "$A$1" Then Call YourMacroNameHere  'amend the address to the be cell you want, and YourmAcroNameHere to be the macro you want to activate
End Sub