+ Reply to Thread
Results 1 to 3 of 3

Calendar not working in Excel 2010 VBA.

  1. #1
    Registered User
    Join Date
    04-20-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    1

    Calendar not working in Excel 2010 VBA.

    Hi all,

    We have been working on Excel 2003 and Calendar Date functionality is working fine. But in Excel 2010, the same code is throwing a compilation error that Object or module not defined.
    ----------------------
    Please Login or Register  to view this content.
    ----------------------

    I know that the libraries are different but even if we click on the "ok" in that error, rest of the functionalities are working fine except the calendar.

    Thanks in advance

    Regards,
    Ankit
    Last edited by pike; 04-20-2011 at 03:01 AM. Reason: add code tags for newbie PM rule

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Calendar not working in Excel 2010 VBA.

    Hi AnkitTandon and welcome to the forum.

    I'm not a VBA expert so I can't give you a solution but I've seen this problem raised a few times.

    From Microsoft: http://technet.microsoft.com/en-us/l.../cc179167.aspx

    Calendar control
    Calendar control (mscal.ocx) was a Microsoft Access feature that could be used in Access worksheets. Calendar control is removed in Access 2010 and is not usable for Excel 2010. Instead, users can use Date Picker or their own custom calendar controls.

  3. #3
    Forum Contributor
    Join Date
    07-27-2009
    Location
    montreal, canada
    MS-Off Ver
    Excel 2003
    Posts
    230

    Re: Calendar not working in Excel 2010 VBA.

    Yeah, installing the Active-x controlled solved it for me:
    found here:
    http://www.fontstuff.com/mailbag/qvba01.htm

    Good tutorial for it here:
    http://www.fontstuff.com/vba/vbatut07.htm

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1