Cookies help us deliver our services. By using our services, you agree to our use of cookies.
Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to convert multiple notes to separate emails at once in Outlook? 

Sometimes, you may want to create separate new emails with the contents of the notes in Outlook. Normally, you can drag all the notes into the Mail icon in navigation pane, but all the notes will be inserted into one single email. How could you convert multiple notes to new emails separately in Outlook?

Convert multiple notes to separate emails at once with VBA code

Convert multiple notes to separate emails at once with VBA code

To create multiple separate emails based on the notes’ contents, please apply the following VBA code:

1. Go to the Notes pane, and then select the notes that you want to convert to emails.

2. Then, hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.

3. And then, click Insert > Module, copy and paste below code into the opened blank module:

VBA code: Convert multiple notes to separate emails at once:

Sub BatchCreateEmailsFromNotes()
    Dim xSelection As Outlook.Selection
    Dim i As Long
    Dim xItem As Object
    Dim xNote As Outlook.NoteItem
    Dim xMail As Outlook.MailItem
    Dim xYesNo As Integer
    On Error Resume Next
    Set xSelection = Outlook.Application.ActiveExplorer.Selection
    If xSelection Is Nothing Or xSelection.Count = 0 Then Exit Sub
    xYesNo = MsgBox("Are you sure to convert the selected notes to emails?", vbOKCancel + vbQuestion, "Kutools for Outlook")
    If xYesNo = VbMsgBoxResult.vbCancel Then
      Exit Sub
    End If
    For Each xItem In xSelection
        If xItem.Class = olNote Then
           Set xNote = xItem
           Set xMail = Outlook.Application.CreateItem(OlMailItem)
           With xMail
                .Subject = "Note: " & Mid(xNote.Body, 1, 10)
                .Body = xNote.Body
                .Attachments.Add xNote
           End With
        End If
End Sub

4. Then press F5 key to run this code, and a message box pops out to remind you if you want to convert notes to emails, please click OK, see screenshot:

doc convert notes to emails 1

5. And then, all the selected notes have been converted to emails as following screenshot shown:

doc convert notes to emails 2

Kutools for Outlook

More than 100 Advanced Functions for Outlook 2010, 2013, 2016, 2019 and 365

screen shot kutools for outlook tiny for banner 201812

More Features  |  Free Download  |  Only $39.00 for hundreds of functions

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.