ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   data validation list does not trigger worksheet_change event (https://www.excelbanter.com/excel-programming/375269-data-validation-list-does-not-trigger-worksheet_change-event.html)

ivory_kitten

data validation list does not trigger worksheet_change event
 
if a user selects a value from a data validation list the VBA code is not
executing, how do i fix this?

Gary Keramidas

data validation list does not trigger worksheet_change event
 
i have something similar. mine is in c2, this may work

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count = 1 Then
If Not Intersect(Target, Range("C2")) Is Nothing Then
Call Threshold

Else
'Exit Sub

End If
End If
End Sub

--


Gary


"ivory_kitten" wrote in message
...
if a user selects a value from a data validation list the VBA code is not
executing, how do i fix this?





All times are GMT +1. The time now is 04:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com