| Blog Office VBA | Blog Excel | Blog Access |
Bem, não tenho o Lotus Notes instalado, este código lhe ensina a anexar:
Dim AttachME As ObjectDim EmbedObj1 As Object' Select Workbook to Attach to E-MailLet notesDocument.SaveMessageOnSend = TrueLet attachment1 = "D:\Bernardes\FileToSend.txt" ' Required File NameIf attachment1 <> "" ThenOn Error Resume NextSet AttachME = MailDoc.CREATERICHTEXTITEM("attachment1")Set EmbedObj1 = AttachME.embedobject(1454, "attachment1", "D:\Bernardes\FileToSend.txt", "") 'Required File NameOn Error Resume NextEnd If
Tags: VBA, Lotus Notes, Lotus, atach, anexar
Nenhum comentário:
Postar um comentário