![]() If the file type is not specified, the MSG format (.msg) is used.Īfter that you can do the required conversations to PDF and etc. To save an Outlook item you need to use the MailItem.SaveAs method which saves the Microsoft Outlook item to the specified path and in the format of the specified file type. MyAttachments.Item(1).SaveAsFile Environ("HOMEPATH") & "\My Documents\" & myAttachments.Item(1).DisplayName ![]() If MsgBox(strPrompt, vbYesNo + vbQuestion) = vbYes Then StrPrompt = "Are you sure you want to save the first attachment in the current item to the Documents folder? If a file with the same name already exists in the destination folder, it will be overwritten with this copy of the file." Press on the Convert tab to start saving Outlook email as PDF format. Enter a destination path for saving PST to PDF converted data. Select Convert email attachments as PDF & Black & White mode. Choose Outlook mailbox data and enable desired mailboxes. If TypeName(myInspector.CurrentItem) = "MailItem" Then Download and Launch the software on Windows OS. If Not TypeName(myInspector) = "Nothing" Then Set myInspector = Application.ActiveInspector Go to File Format, select Password protected in PDF Standard and enter a password. The location at which to save the attachment should be passed as a parameter. Select Universal Document Converter from the list of printers and click Properties. The Attachment.SaveAsFile method saves the attachment to the specified path.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |