vba create outlook event with list of dates and include table in description

aspiringnerd

New Member
Joined
Apr 22, 2022
Messages
39
Office Version
  1. 365
Platform
  1. Windows
I have 4 columns and a table that I want to use to create a new event in outlook.

Column P = Start date
Column Q = End date
Column R = Category
Column S = Subject

I also have a dynamic table that I have change based on xlookup, columns a1:h1000 (varies like I said between 50-100 ish rows).

I need help with some vba that will create an event with these cells, capturing only cells that are TRUE (true only after a44, since before a44 it's often blank) in the table so that I'm not copying all 1000 rows. And then Fill column O with a "sent" so I can track where I left off.

tldr = when you click the macro button it creates a new event with the table, dates, subject, and then adds "sent" in the corresponding row where the data was taken.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
I'm going to try and break down each function, I really have a hard time understanding vba syntax:
looking for an if condition that checks for first instance of isblank in column 0
use the values in that row that it finds to create the outlook event
fill the row in column 0 to "sent" so that it will skip that row next time I run the macro
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,356
Members
449,080
Latest member
Armadillos

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