Create outlook task from excel

gotido

New Member
Joined
Dec 13, 2017
Messages
41
Office Version
  1. 365
Platform
  1. MacOS
Hello

I have a gym and i want to create a worksheet that reminds me when i should contact a member to upgrade is training plan.

This is the workbook:


The ideia is that i insert the delivery date and then it gives me automaticly the 1º contact, 2 contact, 3 contact and 4 contact, each one with 30 days diference.

then, when i click create reminder, the macro will read the last written row and creates an outlook reminder/task.

Could someone hepl me with this, please?

thanks


https://www.dropbox.com/s/ifr2k5oww7moocu/Outlook%20reminder.xlsm?dl=0

 
Like this:

Code:
Sub CreateTask()                                                       ' button code
Dim r, LR%, i%, c As Range
LR = Range("b" & Rows.Count).End(xlUp).Row                             ' last row
For i = 1 To 4
    Set c = Cells(LR, 3 + 2 * i)
    r = AddCal(Cells(LR, 3), "Upgrade Plan, member " & Cells(LR, 1), CDate(c))
Next
End Sub
 
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,224,828
Messages
6,181,206
Members
453,022
Latest member
RobertV1609

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