yurble_vn
07-16-2007, 10:59 AM
I have read some where something like:
Worksheet_SelectionChange(ByVal Target As Range)
Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
Worksheet_Change(ByVal Target As Range)
Please, anyone help me in telling what is the default name (the name rule) for sub in worksheet so excel can understand it's an event code?
When reading help in VBA, they just show me the last bullet code --> Worksheet_Change(ByVal Target As Range)
Worksheet_SelectionChange(ByVal Target As Range)
Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
Worksheet_Change(ByVal Target As Range)
Please, anyone help me in telling what is the default name (the name rule) for sub in worksheet so excel can understand it's an event code?
When reading help in VBA, they just show me the last bullet code --> Worksheet_Change(ByVal Target As Range)