Excel sending automatic emails reminders rgd coming due dates - excel

I am trying to build an Excel sheet with due dates and corresponding email addresses.
When it is 10 days before the due day, ideally Excel would automatically send the corresponding person an email reminding them about the due date.
I found some VBA codes online but they can only send emails to one designated emailing address.
Please could anyone kindly point out where I should be looking at? Thanks a lot!

What I understand is that you would like to send the same email to multiple recipients if a condition is met. I assume you are able to do this on a per-person level (if not, refer to this resource), so you could simply repeat this procedure for the targeted number of recipients. Or you could also CC or BCC those other recipients, however I would suggest doing it on a personal level if time is not an issue as this adds to privacy of targeted recipients.
This post about CC and this post about BCC could help, or you could simply have a for loop for each recipient and keep your email content the same. Good luck!

Related

Search email in Outlook for Customer ID, forward email to email address in database

Sorry, complete noob here... we have a client that has a list in Excel of 1,500 customers with their Customer ID and their email address.
As an invoice email comes into a mailbox they want a way to search the email body for the Customer ID and then forward to the email address in the Excel spreadsheet.
It doesn't have to be Excel, but it has to be simple enough for an end user to add to the list in the future.
Can this be done with VBA to search a database from Outlook, or do I need to look at a third party program? If the latter, can anyone recommend one?
Yes, it is possible to implement such things according to your needs. You can create a VBA macro or develop a COM add-in if you need to distribute the solution on multiple machines. In case of VBA the starting point is to get familiar with the environment, see Getting started with VBA in Office.
You need to start from handling incoming emails, so the Application.NewMailEx can be helpful in that case. This event fires once for every received item that is processed by Microsoft Outlook. The item can be one of several different item types, for example, MailItem, MeetingItem, or SharingItem. The NewMailEx event fires when a new message arrives in the Inbox and before client rule processing occurs. The EntryIDsCollection string contains the Entry ID that corresponds to that item. Use the Entry ID to call the NameSpace.GetItemFromID method and process the item.

Trying to draft custom email body in outlook from excel spreadsheet

I'm trying to learn how to use Excel/VBA to automate as much of the below workflow as I can:
I receive an email from a manager notifying me that an employee has Covid. This initial notification is not standardized
I manually enter the information (employee name, their state, company, test date, test results, etc) into a spreadsheet. Sometimes certain cells information are left blank if they are not provided in #1
I REPLY ALL to original email. I use a template and edit based on the information I've entered into the spreadsheet (for instance, certain states have different guidelines) and attach PDFs depending on the company. I may also ask for missing information
My goal is to:
Be able to press a button in excel to draft an email body with information I've entered into spreadsheet. A combination of "mad lib" and "if this then that". If specific cells are blank, Id want the email to include what information i still need. I only send this specific email once, but I have to do it again every time there is a new Covid case.
My restrictions are:
Multiple people use this same workflow and spreadsheet, so ideally it would be simple for coworkers. I do not want excel to automatically send the email without the user reviewing it first.
I am very new to VBA, but am learning Python.
I cannot download anything on my work computer.
Thank you so much!

Send an email through Sharepoint workflow one week before a date

I need a workflow to track a due date on an issues list and one week before due date send a reminder email.
My workflow is
Add -7 days to CurrentItem:DueDate (Output to Variable:date1)
then pause until Variable:Date1
then email CurrentItem:Responsible
with the email being sent to
CurrentItem:Responsible returned as an email address, semicolon delimited.
This currently isn't emailing my user, but the workflow is completing after the seven day point is reached.
Is there a better way to set up this workflow, or why might this workflow complete but not send the email?
A lot of things can go wrong with mailing from WF.
I would check if the SharePoint-User you have selected actually has an email (and the right one) assigned in SP.
Eventually you can write the mail-address to the log, after the pause, so you really can see if the WF finds it.
In this blog, you can write the mail-address to the log,
Declare due date =29/02/2016 & minus 7 days stored in date variable
This remainder mail through users or author of the item,
Site workflow has been created .we ll run this action site level
Please click Here

How can I create a connection/link between Excel and an Outlook email?

I've been sending Outlook emails from Excel for a while, using it to manage my sales and project management activities at work. I've been enjoying increased productivity from it, so I want to do some more advanced things. For example, I think I have the code worked out, probably in a crude way, to have Excel help keep track of emails that have not been replied to. (I simply have Outlook, for each new email, open a workbook, and create a record in a new row, then have Excel attempt to match it to an email I previously sent.)
But once I have a record in Excel of such an email, it has no link or connection to the actual email. I want to be able to click on the Excel icon or link for the email, and then pull up the actual email.
I have found possibilities in using EntryIDs and MessageIDs, Outlook URLs and GUIDs,and even good-old AdvancedSearch (but I think having Excel search for an email that it initiated seems pretty clunky; there should be a way to create a hard link to the email).
Relatedly, and also probably just as clunky, but I've pondered "embedding" a unique identifier in each Excel-initiated email, that could be used to find it and link it back to a record in Excel. In an HTML email, I can add a string of numbers under my signature, in white text on a white background, and it's not perfect but in most cases should go unnoticed, and would allow my spreadsheet to positively identify it (as a reply to a particular email, etc.)
I know we're not supposed to ask for "advice" but I am hoping someone can point me in the right direction to something that may work for what I hope to accomplish.
Why not use the email's time sent (TIMESTAMP - MMDDYYYYHHSS), Recipient, and Subject Line as unique, identifying markers? Add these fields to your row data. Then, after email is sent, create a macro event that will:
Launch the Outlook App
Open the Sent Folder
Loop through all items
Filter email to the markers (Time, Recipient, Subject Line) of the active Excel row
Open the Email Item
Aside, my personal advice is to use a database like MS Access which works great with its siblings, Excel and Outlook. Also, it is designed to maintain relationships between data elements. Access could hold all the needed email content (emailID, recipient, subject, body, date, emailsent?) and with forms can provide AfterUpdate, ButtonClick, OnOpen events to manage the process of data entry, email process, data update, so on. If only you knew the increased productivity that comes with a relational database!
You can add a user property to the MailItem class. See the UserProperties collection for more information.
The automated systems add an ID to the end if the Subject line.

How to send email at specied time and date in crm 2011

after selecting lead and if Email button from ribbon is selected , then email form opens , here is it possible to set time and date for email to be send.
i tried "Actual start , Actual end , Due date etc" but mails sends immediatly after send button is pressed.
Is there any other ways to set Date and time for sending email.
Thanks in Advance.
I don't think there is a great out of the box solution for what you are looking for. However, depending on which version of CRM you are using (online vs on premise) You can create workflow that will fire off of one of those date fields being set (or a custom one) and wait until that specified time. To actually send it you will have create a workflow assembly (on prem only at this time I believe) to send that e-mail record out.
If it is online or you want to not add any code you can still do this trick. There are some drawbacks such as the e-mail would be text only, not able to recreate the activity party lists and some other things. Here is what I would do.
Create a new entity called Scheduled E-mail
Create all of the e-mail fields that you need to recreate as well as a date field to send the e-mail out by.
Create the workflow on the Scheduled E-mail entity to wait until the specified date.
After the step use the "Send E-mail" step to send the e-mail and copy over all of the fields you need.
This isn't a perfect solution, but will work with no code.
Hope this helps!

Resources