Separate actual click on a label from coded click events vb6

I have had this little calendar for yrs, don't remember from where.
I am trying to add code when a user selects a date by actually clicking with mouse it will unload the form.
Private Sub Label1_Click(Index As Integer)
get the selected date and unload the form, this what i want to do
End sub
How can this be done ?
_-__-Calendar-practice-.zip
isnoend2001Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Martin LissOlder than dirtCommented:
I made several changes all of which are marked with 'new
28841819.zip
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
isnoend2001Author Commented:
Thanks, don't know why the vbmodal gives a error, but it is unneeded
0
Martin LissOlder than dirtCommented:
Just before you posted I changed my previous post. Use the zip file in that post because in the code I originally posted there was a problem when you changed the month. Please confirm that you've see this post.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

isnoend2001Author Commented:
just noticed clicked the year or month  does not work any more
commented out Unload me and they work
0
isnoend2001Author Commented:
i did not i will look now at your other post
0
isnoend2001Author Commented:
I don't see a zip file
0
Martin LissOlder than dirtCommented:
See post ID: 41245845
0
isnoend2001Author Commented:
Your zip fixed me right up
thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.