Direkt zum Inhalt

Wie drucke ich alle Anhänge in einer / mehreren E-Mails in Outlook?

Wie Sie wissen, wird der E-Mail-Inhalt wie Kopfzeile und Text nur gedruckt, wenn Sie auf klicken Reichen Sie das > Drucken in Microsoft Outlook, aber drucken Sie die Anhänge nicht. Hier zeigen wir Ihnen, wie Sie alle Anhänge in einer ausgewählten E-Mail in Microsoft Outlook problemlos drucken können.


Drucken Sie alle Anhänge einzeln in einer E-Mail aus

Microsoft Outlook bietet uns Schnelldruck Funktion, mit der Sie Anhänge in einer E-Mail-Nachricht einzeln drucken können.

1. Wählen Sie die E-Mail-Nachricht aus, deren Anhänge Sie später drucken möchten.

2. Klicken Sie in dieser E-Mail auf einen Anhang.

3. Drücke den Schnelldruck Knopf im Aktionen Gruppe auf der Anlagen Tab.

Beachten Sie das Anbaugeräte wird erst aktiviert, wenn Sie in E-Mails auf Anhänge klicken.

4. Ein Dialogfeld zum Öffnen von E-Mail-Anhängen wird angezeigt, und klicken Sie bitte auf Offen .

Bitte beachten Sie, dass dieser Schritt den ausgewählten Anhang öffnet und gleichzeitig diesen ausgewählten Anhang druckt.

Um andere Anhänge in dieser E-Mail auszudrucken, wiederholen Sie bitte die Schritte 2 bis 4.

Speichern / exportieren Sie schnell alle Anhänge aus mehreren E-Mails in Outlook

Normalerweise können wir Anhänge aus einer E-Mail speichern, indem wir das aktivieren Anbaugeräte und das Anwenden des Alle Anhänge speichern Funktion in Outlook. Was aber, wenn Anhänge aus mehreren E-Mails oder aus dem gesamten E-Mail-Ordner in Outlook gespeichert werden? Probieren Sie Kutools für Outlooks aus Save All Funktion (Anhänge).


Speichern Sie Anhänge in mehreren E-Mails kto9

Batch drucken Sie alle Anhänge in einer E-Mail-Nachricht

Wenn eine E-Mail-Nachricht viele Anhänge enthält, ist es zeitaufwändig, sie einzeln zu drucken. Und die folgende Methode führt Sie durch den Stapeldruck aller Anhänge in einer ausgewählten E-Mail-Nachricht.

1. Wählen Sie die E-Mail-Nachricht aus, deren Anhänge Sie später drucken möchten.

2. Klicken Sie in Outlook 2010 oder höheren Versionen auf Reichen Sie das > Drucken > Druckoptionen. Siehe folgenden Screenshot:

3. Aktivieren Sie im Dialogfeld „Drucken“ die Option „ Angehängte Dateien drucken. Anhänge werden nur auf dem Standarddrucker gedruckt Option in der Druckoptionen .

4. Drücke den Drucken .

5. Klicken Sie im Dialogfeld "E-Mail-Anhang öffnen" auf Offen Taste, um fortzufahren. ((Note: Dieses Dialogfeld wird für jeden Anhang separat angezeigt.)

Jetzt werden alle Anhänge in dieser ausgewählten E-Mail-Nachricht auf einmal gedruckt.


Alle Anhänge und Bilder in mehreren ausgewählten E-Mails stapelweise drucken

Um alle Anhänge in mehreren E-Mails sowie alle Bilder im Nachrichtentext in Outlook zu drucken, führen Sie bitte die folgenden Schritte aus, um einen VBA-Code anzuwenden.

1. In der Mailingliste bitte halten Ctrl or Shift Tasten zum Auswählen mehrerer E-Mails, deren Anhänge Sie drucken möchten.

2. Drücken Sie Andere + F11 Tasten zusammen, um das Fenster Microsoft Visual Basic für Applikationen zu öffnen.

3. Klicken Sie im Fenster Microsoft Visual Basic für Applikationen auf Tools > Bibliographie. Und dann überprüfen Sie die Microsoft Scripting-Laufzeit Option wie unten gezeigt. Wenn Sie fertig sind, klicken Sie OK.

4. Klicken Sie Insert > Modulund fügen Sie dann den folgenden VBA-Code in das neue Modulfenster ein.

VBA: Drucken Sie alle Anhänge in mehreren Outlook-E-Mails

Sub PrintAllAttachmentsInMultipleMails()
  'Update by ExtendOffice 2022/08/03
  Dim xShellApp As Object
  Dim xFSO As Scripting.FileSystemObject
  Dim xItem As Object
  Dim xTempFldPath, xFilePath As String
  Dim xSelItems As Outlook.Selection
  Dim xMailItem As Outlook.MailItem
  Dim xAttachments As Outlook.Attachments
  Dim xAttachment As Outlook.Attachment
  Dim xFile As File
  On Error Resume Next
  Set xFSO = New Scripting.FileSystemObject
  xTempFldPath = xFSO.GetSpecialFolder(2).Path & "\Attachments " & Format(Now, "yyyymmddhhmmss") 'xFSO.GetSpecialFolder(2) For saving temporary files
  If xFSO.FolderExists(xTemfldpath) = False Then 'create temporary folder
    xFSO.CreateFolder (xTempFldPath)
  End If
  Set xSelItems = Outlook.ActiveExplorer.Selection
  Set xShellApp = CreateObject("Shell.Application")
  For Each xItem In xSelItems
    If xItem.Class = OlObjectClass.olMail Then
      Set xMailItem = xItem
      Set xAttachments = xMailItem.Attachments
      For Each xAttachment In xAttachments
        xFilePath = xTempFldPath & "\" & xAttachment.FileName
        xAttachment.SaveAsFile (xFilePath)
      Next
    End If
  Next
  For Each xFile In xFSO.GetFolder(xTempFldPath).Files
    VBA.DoEvents
    Call xShellApp.ShellExecute(xFile.Path, "", "", "print", 0)
  Next
  Set xSelItems = Nothing
  Set xShellApp = Nothing
  Set xFSO = Nothing
End Sub

5. Drücken Sie F5 Taste oder klicken Sie auf Führen Sie Schaltfläche, um diesen VBA-Code auszuführen. Nun sehen Sie, dass alle Anhänge in den ausgewählten E-Mails und die Bilder im Nachrichtentext ausgedruckt werden.

Hinweis:

  • Für jedes Bild wird ein Popup-Dialogfeld angezeigt, in dem Sie nach einer Druckbestätigung gefragt werden. Während andere Dateitypen direkt gedruckt werden.
  • Wenn eine E-Mail-Signatur Bilder enthält, werden auch Popup-Dialogfelder angezeigt.
  • Wenn du bekommst Die Makros in diesem Projekt sind deaktiviert Fehler, überprüfen Sie bitte dieses Tutorial: Wie aktiviere und deaktiviere ich Makros in Outlook?

Alle Anhänge in mehreren ausgewählten E-Mails stapelweise drucken, mit Ausnahme von Bildern im Text

Um nur Anhänge in mehreren E-Mails, aber die Bilder im Nachrichtentext in Outlook zu drucken, führen Sie bitte die folgenden Schritte aus, um einen VBA-Code anzuwenden.

1. In der Mailingliste bitte halten Ctrl or Shift Tasten zum Auswählen mehrerer E-Mails, deren Anhänge Sie drucken möchten.

2. Drücken Sie Andere + F11 Tasten zusammen, um das Fenster Microsoft Visual Basic für Applikationen zu öffnen.

3. Klicken Sie im Fenster Microsoft Visual Basic für Applikationen auf Tools > Bibliographie. Und dann überprüfen Sie die Microsoft Scripting-Laufzeit Option wie unten gezeigt. Wenn Sie fertig sind, klicken Sie OK.

4. Klicken Sie Insert > Modulund fügen Sie dann den folgenden VBA-Code in das neue Modulfenster ein.

VBA: Drucken Sie alle Anhänge in mehreren Outlook-E-Mails

Sub PrintAllAttachmentsInMultipleMails()
  'Update by ExtendOffice 2022/08/05
  Dim xShellApp As Object
  Dim xFSO As Scripting.FileSystemObject
  Dim xItem As Object
  Dim xTempFldPath, xFilePath As String
  Dim xSelItems As Outlook.Selection
  Dim xMailItem As Outlook.MailItem
  Dim xAttachments As Outlook.Attachments
  Dim xAttachment As Outlook.Attachment
  Dim xFile As File
  On Error Resume Next
  Set xFSO = New Scripting.FileSystemObject
  xTempFldPath = xFSO.GetSpecialFolder(2).Path & "\Attachments " & Format(Now, "yyyymmddhhmmss") 'xFSO.GetSpecialFolder(2) For saving temporary files
  If xFSO.FolderExists(xTemfldpath) = False Then 'create temporary folder
    xFSO.CreateFolder (xTempFldPath)
  End If
  Set xSelItems = Outlook.ActiveExplorer.Selection
  Set xShellApp = CreateObject("Shell.Application")
  For Each xItem In xSelItems
    If xItem.Class = OlObjectClass.olMail Then
      Set xMailItem = xItem
      Set xAttachments = xMailItem.Attachments
      For Each xAttachment In xAttachments
        If IsEmbeddedAttachment(xAttachment) = False Then
          xFilePath = xTempFldPath & "\" & xAttachment.FileName
          xAttachment.SaveAsFile (xFilePath)
          Debug.Print xFilePath
        End If
      Next
    End If
  Next
  For Each xFile In xFSO.GetFolder(xTempFldPath).Files
    VBA.DoEvents
    Call xShellApp.ShellExecute(xFile.Path, "", "", "print", 0)
  Next
  Set xSelItems = Nothing
  Set xShellApp = Nothing
  Set xFSO = Nothing
End Sub

Function IsEmbeddedAttachment(Attach As Attachment)
Dim xItem As MailItem
Dim xCid As String
Dim xID As String
Dim xHtml As String
On Error Resume Next
IsEmbeddedAttachment = False
Set xItem = Attach.Parent
If xItem.BodyFormat <> olFormatHTML Then Exit Function
xCid = ""
xCid = Attach.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001F")
If xCid <> "" Then
    xHtml = xItem.HTMLBody
    xID = "cid:" & xCid
    If InStr(xHtml, xID) > 0 Then
        IsEmbeddedAttachment = True
    End If
End If
End Function

5. Drücken Sie F5 Taste oder klicken Sie auf Führen Sie Schaltfläche, um diesen VBA-Code auszuführen. Nun sehen Sie, dass alle Anhänge der ausgewählten E-Mails ausgedruckt werden.

Hinweis:

  • Für jedes angehängte Bild wird ein Popup-Dialogfeld angezeigt, in dem Sie um eine Druckbestätigung gebeten werden. Während andere Dateitypen direkt gedruckt werden.
  • Bilder im Nachrichtentext werden nicht gedruckt.
  • Wenn du bekommst Die Makros in diesem Projekt sind deaktiviert Fehler, überprüfen Sie bitte dieses Tutorial: Wie aktiviere und deaktiviere ich Makros in Outlook?

 


Demo: Drucken Sie einen oder alle Anhänge in einer Outlook-E-Mail


Tipp: In diesem Video, Kutoolen Registerkarte wird hinzugefügt von Kutools for Outlook. Wenn Sie es brauchen, klicken Sie bitte hier eine 60-tägige kostenlose Testversion ohne Einschränkung zu haben!


Beste Office-Produktivitätstools

Kutools for Outlook - Über 100 leistungsstarke Funktionen zur Optimierung Ihres Outlooks

🤖 KI-Mail-Assistent: Sofortige Profi-E-Mails mit KI-Magie – geniale Antworten mit einem Klick, perfekter Ton, mehrsprachige Beherrschung. Verwandeln Sie den E-Mail-Versand mühelos! ...

📧 E-Mail Automation: Abwesenheit (verfügbar für POP und IMAP)  /  Planen Sie das Senden von E-Mails  /  Automatisches CC/BCC nach Regeln beim E-Mail-Versand  /  Automatische Weiterleitung (erweiterte Regeln)   /  Begrüßung automatisch hinzufügen   /  Teilen Sie E-Mails mit mehreren Empfängern automatisch in einzelne Nachrichten auf ...

📨 E-Mail-Management: E-Mails einfach abrufen  /  Blockieren Sie betrügerische E-Mails nach Betreff und anderen  /  Doppelte E-Mails löschen  /  Erweiterte Suche  /  Ordner konsolidieren ...

📁 Anhänge ProBatch speichern  /  Stapeltrennung  /  Stapelkomprimierung  /  Automatisches Speichern   /  Automatische Trennung  /  Automatische Komprimierung ...

???? Schnittstellenmagie: 😊Mehr hübsche und coole Emojis   /  Steigern Sie Ihre Outlook-Produktivität mit Registerkartenansichten  /  Ausblick minimieren statt schließen ...

👍 Wunder mit einem Klick: Allen mit eingehenden Anhängen antworten  /   Anti-Phishing-E-Mails  /  🕘Zeitzone des Absenders anzeigen ...

👩🏼‍🤝‍👩🏻 Kontakte und Kalender: Fügen Sie Kontakte aus ausgewählten E-Mails im Stapel hinzu  /  Teilen Sie eine Kontaktgruppe in einzelne Gruppen auf  /  Geburtstagserinnerungen entfernen ...

Auf über 100 Eigenschaften Warten Sie auf Ihre Erkundung! Klicken Sie hier, um mehr zu erfahren.

 

 

Comments (24)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Is it possible to specify a network printer instead of always printing with the standard printer?
This comment was minimized by the moderator on the site
Dear all,

I had tried the VBA and the code runs but many popups are opening on screen to print images from the mail signature (apparently this is considered an attachment). Anyone knows how to solve it?

S.
This comment was minimized by the moderator on the site
If you don't want to print pictures in the body of a message, please use the code below:
Sub PrintAllAttachmentsInMultipleMails()
  'Update by ExtendOffice 2022/08/05
  Dim xShellApp As Object
  Dim xFSO As Scripting.FileSystemObject
  Dim xItem As Object
  Dim xTempFldPath, xFilePath As String
  Dim xSelItems As Outlook.Selection
  Dim xMailItem As Outlook.MailItem
  Dim xAttachments As Outlook.Attachments
  Dim xAttachment As Outlook.Attachment
  Dim xFile As File
  On Error Resume Next
  Set xFSO = New Scripting.FileSystemObject
  xTempFldPath = xFSO.GetSpecialFolder(2).Path & "\Attachments " & Format(Now, "yyyymmddhhmmss") 'xFSO.GetSpecialFolder(2) For saving temporary files
  If xFSO.FolderExists(xTemfldpath) = False Then 'create temporary folder
    xFSO.CreateFolder (xTempFldPath)
  End If
  Set xSelItems = Outlook.ActiveExplorer.Selection
  Set xShellApp = CreateObject("Shell.Application")
  For Each xItem In xSelItems
    If xItem.Class = OlObjectClass.olMail Then
      Set xMailItem = xItem
      Set xAttachments = xMailItem.Attachments
      For Each xAttachment In xAttachments
        If IsEmbeddedAttachment(xAttachment) = False Then
          xFilePath = xTempFldPath & "\" & xAttachment.FileName
          xAttachment.SaveAsFile (xFilePath)
          Debug.Print xFilePath
        End If
      Next
    End If
  Next
  For Each xFile In xFSO.GetFolder(xTempFldPath).Files
    VBA.DoEvents
    Call xShellApp.ShellExecute(xFile.Path, "", "", "print", 0)
  Next
  Set xSelItems = Nothing
  Set xShellApp = Nothing
  Set xFSO = Nothing
End Sub

Function IsEmbeddedAttachment(Attach As Attachment)
Dim xItem As MailItem
Dim xCid As String
Dim xID As String
Dim xHtml As String
On Error Resume Next
IsEmbeddedAttachment = False
Set xItem = Attach.Parent
If xItem.BodyFormat <> olFormatHTML Then Exit Function
xCid = ""
xCid = Attach.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001F")
If xCid <> "" Then
    xHtml = xItem.HTMLBody
    xID = "cid:" & xCid
    If InStr(xHtml, xID) > 0 Then
        IsEmbeddedAttachment = True
    End If
End If
End Function
This comment was minimized by the moderator on the site
Dear Amanda,

Thank you for the code. It worked!

S.
This comment was minimized by the moderator on the site
Hi there,

Sorry that printing images will bring up popups. You will have to confirm each to download all the images. If you don't need to print images, please click Cancel.

Amanda
This comment was minimized by the moderator on the site
I am using Microsoft 365 and this worked after deleting line 9. Thanks! This has saved a bit of time for me.
Rated 5 out of 5
This comment was minimized by the moderator on the site
hallo, ich möchte nur den Anhang der Mails von der angegebenen Adresse senden, wie kann ich das machen, danke
This comment was minimized by the moderator on the site
Vielen, vielen Dank dafür! Hat uns enorm viel Arbeit erspart.Auch ich musste - wie bereits in den Kommentaren geschrieben - die neunte Zeile "Dim xAttachment As Outlook.Attachment On Error Resume Next" entfernen, dann lief der Code einfandfrei durch.
This comment was minimized by the moderator on the site
Hi, this worked fine for me yesterday but now it is saying 'the macros in this project are disabled' Any advice how to enable them? 
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
on line 9 , removing "On Error Resume Next" worked for me.
This comment was minimized by the moderator on the site
Hi everyone, we updated the VBA code in the tutorial on 2022/08/03. If you still need to print all attachments, please check the new code. 😊
This comment was minimized by the moderator on the site
Hi, I have been using this shortcut for a few weeks now, printing all attachments from multiple emails at once, and I have recently been having to remove line 9 as Nilanka said, which has been working, but this no longer works. Im getting the warning box saying the macros in this project are disabled.....and so on... if someone has a solution to make this work as it has been prior to now, please lmk, as i am selecting about 60 emails all containing attachments to print. Thanks
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
Thank you 
This comment was minimized by the moderator on the site
yes this just worked for me as well. Thank you!
This comment was minimized by the moderator on the site
the VBA code gives syntax is error
This comment was minimized by the moderator on the site
if a pdf has the same name the macro prints just one pdf, how can i change the code in order to modify the pdf name?
This comment was minimized by the moderator on the site
if you want to print all attachments together in 1 email here's what you do. first make a folder on your desktop....I named mine "print". go to the email with the attachments....highlight all of the attachments, right click, save all attachments to the print folder. Open the print folder.....highlight all of them.....right click.....print.



now if only I could figure out how to print all the attachments in 200 emails without opening each one and printing it.
This comment was minimized by the moderator on the site
Kutools for Outlook's Detach All (Attachments) feature can help you download all attachments from multiple emails with several clicks! https://www.extendoffice.com/product/kutools-for-outlook/outlook-detach-attachments.html
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations