Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have an application (that wasn't created by me), which was created on Windows XP. The user it was created for now has Windows 7.

The userform has a calendar control, but when they try and run the userform and click on the calendar command the following error box appears

Run-time error 424
Object Required

I have downloaded and registered the MSCAL.OCX file but i still get the error.

The calendar is a command button on the form which runs the following code

Private Sub cmddatecalendar_Click()
If MonthView2.Visible = False Then
    MonthView2.Visible = True
ElseIf MonthView2.Visible = True Then
    MonthView2.Visible = False
End If
End Sub

Has anyone had this problem or know how to fix it?

share|improve this question
Is "MonthView2" set as your calendar control's name? – ericoneal Jan 23 '12 at 17:18
Eric, the problem has been fixed, for some reason the calender control was removed from the toolbox, but i have added it and all is well. – MapMan Jan 24 '12 at 16:25
This isn't a GIS question, except for the fact that it happens to be in an app using ArcGIS. Migrate to – RyanDalton Feb 22 '12 at 19:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.