Calendar with scheduling [vba]
Here is my contribution to all excel calendars out there. My calendar is created in Excel 2007 and uses both vba and formula.
I will explain how I created this calendar in an upcoming post. You can get the excel calendar file here: Excel calendar.xlsm You need to enable macros to use this calendar.
Instructions:
Select a week
- Select a week using spinner buttons or type a date in date cells
How to add a record
- Double press with left mouse button on a cell
- Type text in title window and text window
- Press with left mouse button on Save button on userform
How to delete a record
- Double press with left mouse button on a cell
- Press with left mouse button on Delete button on userform
Overview Calendar
The overview calendar makes spinner button navigation easier. The selected week is colored gray and the date today is yellow.
Calendar category
This article describes how to build a calendar showing all days in a chosen month with corresponding scheduled events. What's […]
I will in this article demonstrate a calendar that automatically highlights dates based on date ranges, the calendar populates names […]
This workbook contains two worksheets, one worksheet shows a calendar and the other worksheet is used to store events. The […]
In a previous post I created a simple weekly schedule with dynamic dates, in this post I am going to […]
The image above demonstrates cells highlighted using a conditional formatting formula based on a table containing date ranges. The calendar […]
The calendar shown in the image above highlights events based on frequency. It is made only with a few conditional […]
This article demonstrates how to highlight given date ranges in a yearly calendar, this calendar allows you to change the […]
The image above shows a calendar that is dynamic meaning you choose year and month and the calendar instantly updates […]
The drop down calendar in the image above uses a "calculation" sheet and a named range. You can copy the drop-down […]
This article demonstrates how to filter an Excel defined Table based on the selected cell in a calendar. The calendar […]
This article demonstrates how to build a calendar in Excel. The calendar is created as a Pivot Table which makes […]
What's on this page How to use this Excel Calendar How to add events How I built this calendar Worksheet […]
Sam asks: One more question for the Calendar that you have set up above can we have a excel formula […]
I have created another monthly calendar template for you to get. Select a month and year in cells A1 and […]
This weekly calendar is easy to customize, you can change calendar settings in sheet "Settings": Start date (preferably a Sunday or […]
Macro category
This article demonstrates a macro that copies values between sheets. I am using the invoice template workbook. This macro copies […]
This tutorial shows you how to list excel files in a specific folder and create adjacent checkboxes, using VBA. The […]
In this post I am going to show how to create a new sheet for each airplane using vba. The […]
This blog post demonstrates how to create, populate and change comboboxes (form control) programmatically. Form controls are not as flexible […]
The image above shows an array formula in cell D6 that extracts missing numbers i cell range B3:B7, the lower […]
This article demonstrates how to run a VBA macro using a Drop Down list. The Drop Down list contains two […]
This workbook contains two worksheets, one worksheet shows a calendar and the other worksheet is used to store events. The […]
In this article I will demonstrate how to quickly change chart data range utilizing a combobox (drop-down list). The above […]
What's on this page Copy a file Copy and rename a file Rename a file List files in a folder […]
Excel does not resize columns as you type by default as the image above demonstrates. You can easily resize all […]
This article describes how to create an interactive chart, the user may press with left mouse button on a button […]
Rahul asks: I want to know how to create a vlookup sheet, and when we enter a name in a […]
This article describes how to create a button and place it on an Excel worksheet then assign a macro to […]
Question: hi all, thanks for the great formula/array formula. it works great. lately, i noticed that the array formula will […]
This article demonstrates a macro that inserts new worksheets based on names in a cell range. The cell range may […]
In this article, I am going to demonstrate a simple workbook where you can create or delete projects and add […]
Today I would like to share with you these small event handler procedures that make it easier for you to […]
This article explains how to hide a specific image in Excel using a shape as a button. If the user […]
This article describes different ways to locate literal or hardcoded values in formulas. The image above shows the result from […]
This article demonstrates macros that save worksheets to a single pdf file. What's on this webpage Export all worksheets in […]
Schedule category
In this post I am going to add one more function to the weekly schedule I built in a previous […]
Geoff asks: Hi Oscar, I have a cross reference table we use for shift scheduling. The x-axis is comprised of […]
In a previous post I created a simple weekly schedule with dynamic dates, in this post I am going to […]
I would like to share this simple weekly schedule I created. How to use weekly schedule Type any date in cell […]
This template makes it easy for you to create a weekly school schedule, simply enter the time ranges and the […]
This schedule uses the year and month in cell D1 and K1 to highlight activities like vacation specified in the […]
The image above demonstrates conditional formatting highlighting hours outside work hours, those cells are filled with grey except weekends. Conditional formatting […]
The image above demonstartes an array formula in cell B34 that extracts empty hours in a weekly calendar. I have created […]
Sam asks: One more question for the Calendar that you have set up above can we have a excel formula […]
This weekly calendar is easy to customize, you can change calendar settings in sheet "Settings": Start date (preferably a Sunday or […]
This article demonstrates ways to extract names and corresponding populated date ranges from a schedule using Excel 365 and earlier […]
Excel formula categories
Excel categories
4 Responses to “Calendar with scheduling [vba]”
Leave a Reply
How to comment
How to add a formula to your comment
<code>Insert your formula here.</code>
Convert less than and larger than signs
Use html character entities instead of less than and larger than signs.
< becomes < and > becomes >
How to add VBA code to your comment
[vb 1="vbnet" language=","]
Put your VBA code here.
[/vb]
How to add a picture to your comment:
Upload picture to postimage.org or imgur
Paste image link to your comment.
Have you already published the code? I am very interested as i do not only want to use this, i also want to understand the reason behind it.
Hi Oscar,
Do you have either a 2D or 3D working example of this model?
Your model is quite interesting, but I need to create a roster for (say) Patient treatments.
So my user wants to see the patient (could be a Title so that now makes it a 2D model requirement); their treatments (could be several per patient throughout a day, evening or night shift) and which staff members will perform these treatments - so constraints and rostering issues. Plus my user wants to be able to edit/modify on the go ....
How would you approach this, please?
Thank you
Murray
PS we worked on the Yahoo historic stock data issue together.
Hi Oscar
Congratulations, for your job.
I would like to know, How can I do to add a field in USERFORM?
Warmest Regards
Wagner,
Try this:
https://www.excel-easy.com/vba/userform.html