Hi everyone,
I am using the solution suggested by Colin Legg in the thread below
www.mrexcel.com
but when I call a sub within the Label_Click sub
the clsCalendar.ClickEventHandler gets executed twice. Any idea why this is happening? Is there a way to avoid that or a suitable workaround?
Many thanks for all your suggestions!![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)
I am using the solution suggested by Colin Legg in the thread below
![www.mrexcel.com](https://www.mrexcel.com/board/styles/mrexcel/mrexcel-logo-og.png)
Userform Label Click problem
i have created some dynamic labels on a userform however when i go to link them to with let’s say line1_click it does not recognize it albeit i know that label is definitely there. Is there a setting or something i am missing in the properties. This is how the label is created Set newlabel =...
but when I call a sub within the Label_Click sub
VBA Code:
Private Sub pLabel_Click()
clsCalendar.ClickEventHandler (pLabel.Name)
End Sub
the clsCalendar.ClickEventHandler gets executed twice. Any idea why this is happening? Is there a way to avoid that or a suitable workaround?
Many thanks for all your suggestions!
![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)