Setting Appointments Through Excel with VBA/Color Coding

daoteez

New Member
Joined
Jan 19, 2023
Messages
18
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet that I had developed that allows me to input a client's name and the meeting date I had with them. Once I add those two inputs to the spreadsheet and hit an update calendar button the Macro I had developed will generate a specified number of outlook calendar appointments with that clients names and actions I need to take with that client depending on which outlook calendar appointment. I also have the ability to edit and change the cadence and subjects I want these outlook calendar appointments to say.

So an example of how this works is that I have John Smith whom I met with on 01/31/23. I currently have 7 different inputs that will generate 7 different outlook meetings based on the number of work days after the initial meeting date. Specifically 2, 7, 9, 14, 21, 28, 42 work days after the meeting. This means outlook will now generate 7 different appointments on the following dates:

02/02/23
02/09/23
02/13/23
02/21/23
03/02/23
03/13/23
03/31/23

All of this works flawlessly and I have the ability to edit the meeting date or delete the data on outlook calendar based on input selections I can also make on this spreadsheet.

Here's what I need help with. Is it possible to make these meetings that are generated appear as different color categories/do I have the ability control what colors these are based on an input I could select on my spreadsheet?

I realize me just describing this on the forum wouldn't be helpful so I have also included a copy of the spreadsheet for reference. Please let me know if you might be able to help!

 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,215,061
Messages
6,122,921
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top