If this helps, this is the code:
Sub SendToLotusNotes()
ans = MsgBox("Are you sure you would like to email this order to Amcor?" _
, vbYesNo + vbQuestion, "Email")
If ans = vbYes Then
Application.ScreenUpdating = False
'Setup to send email from Lotus Notes
Set Session = CreateObject("Notes.NotesSession")
SiteName = Range("B3").Value
UserName = Session.UserName
MailDbName = Left$(UserName, 1) & Right$(UserName, _
(Len(UserName) - InStr(1, UserName, " "))) & ".nsf"
Set Maildb = Session.GetDatabase("", MailDbName)
If Not Maildb.IsOpen Then Maildb.OpenMail
Set MailDoc = Maildb.CreateDocument
MailDoc.Form = "Memo"
Sheets("AmcorEmailOrder1").Select
Emailaddress1 = Range("C17").Text
Emailaddress2 = Range("C18").Text
OrderNumber = UCase(Range("B25").Text)
Sheets("Amcor Header").Select
MailDoc.sendto = Emailaddress1 'Nickname or full address
If Len(Emailaddress2) > 1 Then
MailDoc.copyto = Emailaddress2 'Nickname or full address
End If
MailDoc.Subject = "Amcor Order - " & SiteName & " - " & OrderNumber
MailDoc.Body = Replace("Please find attached today's order.", "@", vbCrLf)
MailDoc.savemessageonsend = True
' Select File to Attach to E-Mail
MailDoc.savemessageonsend = True
nattachment1 = "U:\AmcorEmailOrder1.csv"
If attachment1 <> "" Then
Set AttachME = MailDoc.CREATERICHTEXTITEM("attachment1")
Set EmbedObj1 = AttachME.embedobject(1454, "attachment1", "U:\amcoremailorder1.csv", "")
End If
MailDoc.PostedDate = Now
nCall MailDoc.Send(False)
Cuser = Environ("username")
continue = MsgBox("Message sent successfully.", vbOKOnly, "Thank You - " & Cuser)
Else
Sheets("AmcorEmailOrder1").Select
Range("A25:L500").ClearContents
Sheets("Amcor Header").Select
End If
Application.ScreenUpdating = True
End Sub