Hi everyone,
I am using the solution suggested by Colin Legg in the thread below
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!
I am using the solution suggested by Colin Legg in the thread below
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 =...
www.mrexcel.com
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!