Worksheet Change Event on a Data Validation List

Cbluum7

Board Regular
Joined
Dec 11, 2006
Messages
81
I have a Worksheet Change Event that is suppose to fire when the user selects a item from the validation list. It has worked up till now and the reason is I have created a conditional format on the sheet with a User Defined Function within it. I do not know why but it does not work because of the conditional format UDF but will if i take the UDF out of the conditional format. The Worksheet Change Event will fire if i type the item i want in but not when selecting from the list.

I have tried adding Application.EnableEvents within the Function but it still does not work. I have the application.EnableEvents within the Worksheet Change event too.

Any ideas?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
I managed to get this to work for anybody who is interested. I added a Worksheet_Calculate Event and called the Worksheet_Change Event from there (See Below).

Private Sub Worksheet_Calculate()

Worksheet_change Range("A3")

End Sub

Private Sub Worksheet_change(ByVal Target As Range)

If Not Intersect(Target, Range("A3")) Is Nothing Then
'Code Here
End if
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,152
Members
452,891
Latest member
JUSTOUTOFMYREACH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top