I've a calendar userform pop-up when user select cell range L60:L69.
When user press Esc key, the calendar should disappear.
I've the code like this.
Please helpPrivate Sub Worksheet_SelectionChange(ByVal Target As Range) Dim Rng1 As Range 'Assign the range to work with Set Rng1 = Range("L60:L69") 'Only work on assigned range If Intersect(Target, Rng1) Is Nothing Then Exit Sub 'Call the userform UserForm1.Show End Sub
Regards