+ Reply to Thread
Results 1 to 5 of 5

Auto Populating Calendar Isssue

  1. #1
    Registered User
    Join Date
    04-25-2017
    Location
    Murfresborro, Tn
    MS-Off Ver
    2010
    Posts
    4

    Auto Populating Calendar Isssue

    Hi,
    I'm pretty knew to forums in general. I am having trouble with an auto populating calendar. The one I have was written by someone else Cmyers on another thread (Link Below) that I have tried to change to make work with what I need it to do but my VBA skills is pretty limited. Seems to do fine with all months but one and then it fails for march 2017. I was finally able to attach file. What I have done is not much tried adding more lines 5 and 6 to accommodate the increase in data. I think I can see that the issue might be the range that it is to be populated into the calendar is not correct since it would overlap the other cells. Tried to change that but I would still get a fail mode and would have to close out completely and start again. Ideally I would like to add two cells to the calendar to show the name of the person requesting trial and the trial Number. Tried to add an Else if statement into the code to make this happen but I failed at that as well. I would like to understand this to make this fit even better for my needs but if I can just get the trial number in for now it would be great. I know I could write a equation system that would link in to a single calendar each month but like the way that this make things interactive and easy to read. Thanks in advance.

    Link From Older Thread.
    https://www.excelforum.com/excel-gen...-calendar.html

    Pr
    Attached Files Attached Files
    Last edited by Tennessee83; 04-26-2017 at 01:01 PM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Auto Populating Calendar Isssue

    I have posted a number of calendars on this forum, which are all formula-based. They take data from a list of "events" (basically, date and description, but other fields can be added if required, including a date range), and display this on a monthly calendar where you can select the month and year from drop-downs. My original versions had up to 7 events per day, but I have amended this in a number of follow-up threads.

    If you are interested, I can post links to some of the threads (or you could just search on the site for my user-name and "calendar").

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    04-25-2017
    Location
    Murfresborro, Tn
    MS-Off Ver
    2010
    Posts
    4

    Re: Auto Populating Calendar Isssue

    Pete,
    Thanks I have found one that I think can work. I have a question still though. The one I found has a good format I think. I am wanting to change a couple things but kinda tired of messing with it. Spent to much time on it as it is. I am needing to show when actual trial is set vs. requested. I can do this with a separate calendar file and then transfer in I think but was curious if there was a better way.
    Thanks
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Auto Populating Calendar Isssue

    I've amended the formulae so that you can do this automatically. Column C (of the DO NOT MESS WITH sheet) brings across the 'Requested Trial Date' (column I) from the Ledger sheet, and column D now contains the 'Date Request Submitted to Planner' from column J of the Ledger sheet. I've also arranged to show blanks where these occur in the Ledger sheet.

    I no longer need the green formulae which were in columns G and I of the Data sheet.

    I've changed the formulae in the blue columns so that there are now two records for each of your data items - one shows the Req_Date from column C and the other shows the Sub_Date from column D, and these alternate on different rows. I'm not sure which of these you class as "Actual trial" and which is "Requested", so I've continued to use Req and Sub from those headers. I've also amended the text in column L to show Req or Sub at the end, to distinguish between the date types.

    You can see the effect on the Calendar sheet, so I hope this is the kind of thing you were after, as there is no need to have a duplicate calendar. Note that if the Req and Sub dates are in different months, then you won't be able to compare them directly.

    Note also that you need twice as many records in the blue area compared with the table of data on the left, so ensure that the formulae are copied down far enough to cope with the amount of data that you have.

    Hope this helps.

    Pete
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-25-2017
    Location
    Murfresborro, Tn
    MS-Off Ver
    2010
    Posts
    4

    Re: Auto Populating Calendar Isssue

    Pete,
    Thanks again. I think it is really close when I get more time I think I know what I am going to try. The clutter in the sheet is what I am not really wanting so what I plan to do is write and IF statement for a separate cell to link back to one linking cell. So that lets say if Req is = to Actual/Sub than use Req, and if not use Sub. If Sub is 0 than use Req. This way I will only have one date for when trials are happening/requested.
    Thanks again

+ 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. Auto-Populating Calendar
    By emk123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2017, 07:29 AM
  2. Auto Populating Calendar
    By NEWBie32 in forum Excel General
    Replies: 2
    Last Post: 01-19-2016, 06:56 PM
  3. Auto-Populating Calendar from different Sheet
    By cmgwb3 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-12-2015, 09:40 AM
  4. Auto Populating Calendar
    By slesensky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-18-2014, 09:57 PM
  5. Questions about auto populating calendar
    By Corocotan in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-18-2012, 02:47 PM
  6. Auto Date isssue
    By PeteN in forum Excel General
    Replies: 5
    Last Post: 03-01-2012, 11:36 AM
  7. Auto-Populating Excel Calendar
    By Vbort44 in forum Excel General
    Replies: 27
    Last Post: 11-16-2011, 03:43 PM

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