Em viết code VBA gửi email bằng excel được rồi nhưng không biết add Reminder cho email kiểu gì, nhờ các bác hỗ trợ câu lệnh ạ
Sub guiemal()
Dim outapp As Object
Dim outmail As Object
Set outapp = CreateObject("Outlook.Application")
Set outmail = outapp.CreateItem(olMailItem)
On Error Resume Next
With outmail
.Display
.To = "........@gmail.com"
.CC = ""
.Subject = "test reminder"
.htmlBody = "test reminder body"
.send
End With
On Error GoTo 0
Set outapp = Nothing
Set outmail = Nothing
End Sub