Event Triggering for VBA Scripting

Опубликовано: 02 Июль 2026
на канале: 3dss
138
3

Youtube Channel:    / @3dssm  
Facebook page:   / excelby3dss  
WhatsApp: https://chat.whatsapp.com/EG6293L24N4...
Telegram: https://t.me/joinchat/L8WnZhMq_iBrFy8...
Instagram:


VBA videos:    • How to code Excel using VBA without any pr...  
Excel Basics:    • How to use VLookUp function in Excel  
Advances Formulas:    • Check Duplicate values using Excel functio...  


Used script:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)

If Not Intersect(Target, Range("A1:D4")) Is Nothing Then
MsgBox ("You selected the cell in " & ActiveCell.Address)
End If

End Sub