Closed Thread
Results 1 to 7 of 7

Problem with a calendar

  1. #1
    Registered User
    Join Date
    09-15-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    82

    Problem with a calendar

    Hi everyone

    I have managed to find a calendar from another post here that really suits my need with a Workbook .

    I have managed to input some VBA code although I'am really not very good at this, that makes the Calendar show when specific cells are clicked within the caseloads sheet. Those being H8:H1000 and I8:I1000. However when the calendar is clicked for a date it doesnt input the date seleceted into the cell selected

    Is anyone able to help me with this it would be really appreciated.

    I have attached cut down version of the work book to help.

    Thank You in advance

    Ortz
    Attached Files Attached Files
    Last edited by Ortz; 08-09-2014 at 12:46 PM.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Problem with a calendar

    Hi Ortz,

    Unfortunately, I was unable to get your Calendar to work.

    I have another calendar that looks almost identical, that I replaced it with in the attached file, that is a copy of your file. Please note that I am using Excel 2003, and your file format may be compromised. After testing my file for suitability, do the following to port my code to your file:
    a. Export UserForm module 'CalendarForm' from my file.
    b. Export Module 'ModCalendarForm' from my file.
    c. Import UserForm module 'CalendarForm' to your file.
    d. Import Module 'ModCalendarForm' to your file.
    e. Cut and paste the following code from the 'Caseloads' sheet module to the 'Caseloads sheet module in your file.
    Please Login or Register  to view this content.
    Please note that the code (except for the Sheet 'Caseloads' code which is customized to your application) is identical to the code from post #2 in the following thread:
    http://www.excelforum.com/excel-gene...-combobox.html

    Lewis
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-15-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    82

    Re: Problem with a calendar

    Hi LJMetzger

    Thanks for having a look at this. Your version works great after I imported your Calendar and altered the code in the Caseload sheet but the only problem is the Calendar only shows January, none of the other months in the year. Any thoughts or help on that ?

    Much appreciated.

    Ortz

  4. #4
    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: Problem with a calendar

    Hi Ortz

    Some of the Code was missing, principally the Class Module.
    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.

  5. #5
    Registered User
    Join Date
    09-15-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    82

    Re: Problem with a calendar

    Hi jaslake

    Thank you very much, greatly appreciated that works exactly how it is needed.

    Thanks both for all your help with this

    Ortz

  6. #6
    Registered User
    Join Date
    04-08-2021
    Location
    Ottawa, Ontario
    MS-Off Ver
    2013
    Posts
    1

    Exclamation Re: Problem with a calendar

    I downloaded your files...yours works great...my issue is very "amateur:..

    Once I have all the VBA code, modules etc. How do I assign it to a cell in my spreadsheet?

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,586

    Re: Problem with a calendar

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Pop-Up Calendar problem
    By guleman in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-24-2014, 05:57 AM
  2. Calendar Problem
    By Silver_Eros in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2013, 11:21 AM
  3. Problem with pop-up calendar
    By rustym in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2010, 02:43 AM
  4. Holiday Calendar Problem
    By paulwelburn in forum Excel General
    Replies: 1
    Last Post: 08-03-2007, 03:42 AM
  5. Calendar problem
    By Patrick Simonds in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-12-2005, 04:05 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