+ Reply to Thread
Results 1 to 6 of 6

Calendar on Sheet and userforms

  1. #1
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Calendar on Sheet and userforms

    Good day,
    I was just wondering if it would be possible to add one calendar instead of multiple calendars that would do the same functions but to add the information also in a specific textbox or textboxes.

    I have 5 main sheets that would use dates. I have a standard calendar in my VBE (frmcalendar).

    I have multiple userforms and within these userforms I have multiple textbox that requires dates (Format preference “YYYY-MM-DD”).

    I searched on some forum that it not possible to do so and that it had to have multiple calendars for each textbox that requires a calendar date stamp.

    I have around 5 userform that in each userform will have 2 textbox that would require dates.

    Frmne has 2 textboxes (Textbox3, textbox7) If there is a way to make my original calendar, that I’m using on my sheets, to generate the same information in my textboxes that would be awesome.

    The test I made made it that each time I entered a date in textbox7 it would also insert the same date in textbox3.

    I need that all of my textboxes within my userforms be separate information. Is there a code or explanation so I can have my Workbook function on only one calendar method and not 3?

  2. #2
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Re: Calendar on Sheet and userforms

    Here is a test Workbook that use 3 calendar for testing. Just need to know if it is possible to use only one.

    On Open Select New entry (Top left from Sheet).


    Datetest.xlsm

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Calendar on Sheet and userforms

    Hi Excelnoub

    The attached includes the Calendar Control I use...it's not Excels built in Calendar Control...it's a non Activex Calendar Control that I found on the Web and is distributable such that other Users don't need to install the Microsoft Calendar Control. Sorry that I can't give proper attribution.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  4. #4
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Re: Calendar on Sheet and userforms

    Thank you jaslake but I need to keep it simple so that I can explain to another user if I am not there or leave the section how to and have a step by step guide (that I have already constructed). They all have the Microsoft Calendar Control. I find this way easier for me as one calendar controls the sheets and 2 calendar controls my textboxes within my Userforms. As I said, I only use 2 textboxes in a userform so that the data entry does not mix up the two and plus it's reserved only for my Userforms. Works well for me, just wanted to know a work around to use the same calendar for all (Sheets and Userforms).

    Thank you all.

  5. #5
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Calendar on Sheet and userforms

    You're welcome...sorry I couldn't have been of help. Thanks for the Rep.

  6. #6
    Forum Contributor
    Join Date
    11-30-2012
    Location
    Colorado, US
    MS-Off Ver
    MS Prof. 2010 and 2013 + 365
    Posts
    113

    Re: Calendar on Sheet and userforms

    Thanks Jaslake for sharing this solution. It is working very well!

+ 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] userforms calling cells from a different sheet
    By seansimi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-01-2013, 09:37 PM
  2. Customized Calendar using UserForms
    By thisisgerald in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-29-2012, 06:48 AM
  3. copying coma sign decimal values to userforms and back to excel sheet
    By bagullo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-06-2011, 03:10 AM
  4. Replies: 0
    Last Post: 04-21-2011, 09:20 AM
  5. load data from 2 userforms to 1 sheet at the same time
    By ncaravela in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-24-2010, 06:53 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