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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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

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
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.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

isnoend2001Author Commented:
just noticed clicked the year or month  does not work any more
commented out Unload me and they work
isnoend2001Author Commented:
i did not i will look now at your other post
isnoend2001Author Commented:
I don't see a zip file
Martin LissOlder than dirtCommented:
See post ID: 41245845
isnoend2001Author Commented:
Your zip fixed me right up
thanks
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.