+ Reply to Thread
Results 1 to 4 of 4

Userform with Calendar Problems

  1. #1
    Forum Contributor
    Join Date
    02-26-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    286

    Userform with Calendar Problems

    Using Excel 2016 I have inserted a calendar (Calendar1) into a userform (frmDateEdit) from the toolbox. This works fine on my computer but if someone else, with a different version of Excel, opens the form they get an error.
    I would like some code for a commandbutton that would open frmDateEdit as the first option but if an error occurs another form (frmDate), without a calendar, opens.
    Thanks Sandy.

  2. #2
    Forum Contributor Toonies's Avatar
    Join Date
    07-30-2009
    Location
    Newcastle, UK
    MS-Off Ver
    Excel 2016
    Posts
    503

    Re: Userform with Calendar Problems

    have a look at this it may help you

    https://ccm.net/faq/36865-vba-excel-...lendar-control

    https://www.excelforum.com/excel-pro...l-setting.html

  3. #3
    Forum Contributor
    Join Date
    02-26-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    286

    Re: Userform with Calendar Problems

    Thanks Toonies. Some good code there to bypass the 2016 toolbox calendar. I was trying to keep it simple by not having a calendar if an error occurred.

  4. #4
    Forum Contributor
    Join Date
    02-26-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    286

    Re: Userform with Calendar Problems

    Hi Toonies, I had a closer look at "https://www.excelforum.com/excel-pro...l-setting.html" and decided that it was a great bit of coding so will use it. Thanks for the link.
    Cheers Sandy

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Userform problems - message box + hide/close userform
    By mariec_06 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2016, 08:37 AM
  2. [SOLVED] Excel 2007, Userform Textbox Date Format and Calendar Control Userform
    By riffology in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2014, 06:18 PM
  3. Pop Up Calendar Problems
    By jzarkauskas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2013, 11:53 AM
  4. [SOLVED] vba userform calendar to populate textbox in another userform
    By kaurka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-29-2012, 01:43 PM
  5. Using a userform Calendar to fill in an excel calendar, and also a log
    By 00Able in forum Excel Programming / VBA / Macros
    Replies: 64
    Last Post: 09-08-2011, 08:50 PM
  6. Calendar Control Problems
    By Gaz_Carr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-06-2006, 10:27 PM
  7. [SOLVED] Problems with calendar control
    By Wim in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-02-2006, 10:40 AM

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