Thanks for your ansert.
Creating a pdf works now.
But the code with the Mail attachments does not work.
I got an error: method or object not foundDim myItem As Outlook.MailItem Dim myAttachments As Outlook.Attachments Set myItem = Application.CreateItem(olApp) Set myAttachments = myItem.Attachments Set myItem = Application.CreateItem(olApp) Set myAttachments = myItem.Attachments Dim myPath As String Dim CurrentFolder As String
Set myItem = Application.CreateItem(olApp)
What made i wrong?
Thanks