Macro - Auto-email for monthly KPIs updates across all departments

whiteswan

New Member
Joined
Jul 8, 2024
Messages
3
Office Version
  1. 2013
Platform
  1. Windows
Dear,

I hope your day went well!

I need help in writing the one VBA to create an automatic email for monthly KPIs updating across all departments with the live Excel file (link file), I want to send a separate e-mail to each proponent with its live link so they can update their inputs, I also want the auto email sent every 1st of the month, with a reminder email after 6 working days, please note the the working days in my country from Sunday to Thursday.

such as business development has its own excel file to update the KPIs, same for all department.

It would be great if you could help me!
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Does each department have its own unique link to an Excel file?

Is the Excel file for each department saved on a local network, or on a website?

Would each email address correspond to the same department every month?

If so, I would start by creating an Excel file that one person would be responsible for maintaining, that contains a table of email addresses and their associated departments, and another table listing the departments and their links. That file would also contain VBA code to send the emails, and the code would know which link to include in the body of each email based on the tables.

That person would setup their local Windows OS to open that Excel file on the 1st of every month (and reminders 6 days later). The Excel file should have the VBA run automatically upon opening. The emails would be sent from that file.
 
Upvote 0
I think what you need is a complete program to handle this process. The workflow should be roughly as follows:

1. On the 1st of each month, the system retrieves KPIs for each department from the KPI database (which could also be an Excel sheet) and sends them individually to each department head.
2. The department heads fill out the KPI data and return the completed forms to you. You then store this KPI data in your KPI database.
3. If a department head does not reply within 6 working days, send a reminder email to that person.

If my understanding is correct, this task would require a comprehensive program to support it. VBA can handle part of it, such as sending emails. However, receiving emails and importing the KPI data from department heads cannot be fully managed with VBA alone. For a complete solution, you might want to consider other tools.
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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