Calendar Control

J

Jim

I've used mscal.ocx to create a calendar control on a user form - However
the calendar gets larger each time I use it
How can I prevent this ?

Regards & TIA
 
M

merjet

Try fixing the size when the UserForm is activated like this.

Private Sub UserForm_Activate()
Calendar1.Height = 120
Calendar1.Width = 180
End Sub

Hth,
Merjet
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top