Direkt zum Inhalt

Wie speichere ich alle Anhänge aus mehreren E-Mails in einem Ordner in Outlook?

Mit der integrierten Funktion Alle Anhänge speichern in Outlook können Sie alle Anhänge einfach aus einer E-Mail speichern. Wenn Sie jedoch alle Anhänge aus mehreren E-Mails gleichzeitig speichern möchten, kann keine direkte Funktion helfen. Sie müssen die Funktion Alle Anhänge speichern in jeder E-Mail wiederholt anwenden, bis alle Anhänge aus diesen E-Mails gespeichert sind. Das ist zeitaufwändig. In diesem Artikel stellen wir Ihnen zwei Methoden vor, mit denen Sie alle Anhänge aus mehreren E-Mails in Outlook problemlos in einem bestimmten Ordner speichern können.

Speichern Sie alle Anhänge aus mehreren E-Mails in einem Ordner mit VBA-Code
Mehrere Klicks, um alle Anhänge aus mehreren E-Mails mit einem erstaunlichen Tool in einem Ordner zu speichern


Speichern Sie alle Anhänge aus mehreren E-Mails in einem Ordner mit VBA-Code

Dieser Abschnitt zeigt einen VBA-Code in einer Schritt-für-Schritt-Anleitung, mit der Sie schnell alle Anhänge aus mehreren E-Mails gleichzeitig in einem bestimmten Ordner speichern können. Bitte gehen Sie wie folgt vor.

1. Zunächst müssen Sie einen Ordner zum Speichern der Anhänge auf Ihrem Computer erstellen.

Holen Sie sich in der Dokumente Ordner und erstellen Sie einen Ordner mit dem Namen "Anhänge". Screenshot:

2. Wählen Sie die E-Mails aus, deren Anhänge Sie speichern möchten, und drücken Sie dann Andere + F11 Schlüssel zum Öffnen der Microsoft Visual Basic für Applikationen Fenster.

3 Klicken Insert > Modul öffnen Modul Fenster, und kopieren Sie dann einen der folgenden VBA-Codes in das Fenster.

VBA-Code 1: Massenspeicheranhänge aus mehreren E-Mails (genau gleichnamige Anhänge direkt speichern)

Tips: Dieser Code speichert genau die gleichen Namensanhänge, indem die Ziffern 1, 2, 3 ... nach den Dateinamen hinzugefügt werden.

Dim GCount As Integer
Dim GFilepath As String
Public Sub SaveAttachments()
'Update 20200821
Dim xMailItem As Outlook.MailItem
Dim xAttachments As Outlook.Attachments
Dim xSelection As Outlook.Selection
Dim i As Long
Dim xAttCount As Long
Dim xFilePath As String, xFolderPath As String, xSaveFiles As String
On Error Resume Next
xFolderPath = CreateObject("WScript.Shell").SpecialFolders(16)
Set xSelection = Outlook.Application.ActiveExplorer.Selection
xFolderPath = xFolderPath & "\Attachments\"
If VBA.Dir(xFolderPath, vbDirectory) = vbNullString Then
    VBA.MkDir xFolderPath
End If
GFilepath = ""
For Each xMailItem In xSelection
    Set xAttachments = xMailItem.Attachments
    xAttCount = xAttachments.Count
    xSaveFiles = ""
    If xAttCount > 0 Then
        For i = xAttCount To 1 Step -1
            GCount = 0
            xFilePath = xFolderPath & xAttachments.Item(i).FileName
            GFilepath = xFilePath
            xFilePath = FileRename(xFilePath)
            If IsEmbeddedAttachment(xAttachments.Item(i)) = False Then
                xAttachments.Item(i).SaveAsFile xFilePath
                If xMailItem.BodyFormat <> olFormatHTML Then
                    xSaveFiles = xSaveFiles & vbCrLf & "<Error! Hyperlink reference not valid.>"
                Else
                    xSaveFiles = xSaveFiles & "<br>" & "<a href='file://" & xFilePath & "'>" & xFilePath & "</a>"
                End If
            End If
        Next i
    End If
Next
Set xAttachments = Nothing
Set xMailItem = Nothing
Set xSelection = Nothing
End Sub

Function FileRename(FilePath As String) As String
Dim xPath As String
Dim xFso As FileSystemObject
On Error Resume Next
Set xFso = CreateObject("Scripting.FileSystemObject")
xPath = FilePath
FileRename = xPath
If xFso.FileExists(xPath) Then
    GCount = GCount + 1
    xPath = xFso.GetParentFolderName(GFilepath) & "\" & xFso.GetBaseName(GFilepath) & " " & GCount & "." + xFso.GetExtensionName(GFilepath)
    FileRename = FileRename(xPath)
End If
xFso = Nothing
End Function

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
VBA-Code 2: Massenspeicheranhänge aus mehreren E-Mails (auf Duplikate prüfen)
Public Sub SaveAttachments()
'Update 20200821
Dim xMailItem As Outlook.MailItem
Dim xAttachments As Outlook.Attachments
Dim xSelection As Outlook.Selection
Dim i As Long
Dim xAttCount As Long
Dim xFilePath As String, xFolderPath As String, xSaveFiles As String
Dim xYesNo As Integer
Dim xFlag As Boolean
On Error Resume Next
xFolderPath = CreateObject("WScript.Shell").SpecialFolders(16)
Set xSelection = Outlook.Application.ActiveExplorer.Selection
xFolderPath = xFolderPath & "\Attachments\"
If VBA.Dir(xFolderPath, vbDirectory) = vbNullString Then
    VBA.MkDir xFolderPath
End If
For Each xMailItem In xSelection
    Set xAttachments = xMailItem.Attachments
    xAttCount = xAttachments.Count
    xSaveFiles = ""
    If xAttCount > 0 Then
        For i = xAttCount To 1 Step -1
            xFilePath = xFolderPath & xAttachments.Item(i).FileName
            xFlag = True
            If VBA.Dir(xFilePath, 16) <> Empty Then
                xYesNo = MsgBox("The file is exists, do you want to replace it", vbYesNo + vbInformation, "Kutools for Outlook")
                If xYesNo = vbNo Then xFlag = False
            End If
            If xFlag = True Then
                xAttachments.Item(i).SaveAsFile xFilePath
                If xMailItem.BodyFormat <> olFormatHTML Then
                    xSaveFiles = xSaveFiles & vbCrLf & "<Error! Hyperlink reference not valid.>"
                Else
                    xSaveFiles = xSaveFiles & "<br>" & "<a href='file://" & xFilePath & "'>" & xFilePath & "</a>"
                End If
            End If
        Next i
    End If
Next
Set xAttachments = Nothing
Set xMailItem = Nothing
Set xSelection = Nothing
End Sub

Notizen:

1) Wenn Sie alle gleichnamigen Anhänge in einem Ordner speichern möchten, wenden Sie bitte die oben genannten Punkte an VBA-Code 1. Bevor Sie diesen Code ausführen, klicken Sie bitte auf Tools > Bibliographieund überprüfen Sie dann die Microsoft Scripting-Laufzeit Box in der Referenzen - Projekt Dialogbox;

doc speichern Anhänge07

2) Wenn Sie nach doppelten Anhangsnamen suchen möchten, wenden Sie bitte den VBA-Code 2 an. Nachdem Sie den Code ausgeführt haben, wird ein Dialogfeld angezeigt, in dem Sie daran erinnert werden, ob Sie die doppelten Anhänge ersetzen möchten Ja or Nein basierend auf Ihre Bedürfnisse.

5. Drücken Sie die Taste F5 Schlüssel zum Ausführen des Codes.

Dann werden alle Anhänge in ausgewählten E-Mails in dem Ordner gespeichert, den Sie in Schritt 1 erstellt haben. 

Anmerkungen: Möglicherweise gibt es eine Microsoft Outlook Wenn Sie dazu aufgefordert werden, klicken Sie auf Erlauben Taste, um fortzufahren.


Speichern Sie alle Anhänge aus mehreren E-Mails mit einem erstaunlichen Tool in einem Ordner

Wenn Sie ein Neuling in VBA sind, empfehlen wir Ihnen hier die Alle Anhänge speichern Nutzen von Kutools für Outook für dich. Mit diesem Dienstprogramm können Sie schnell alle Anhänge aus mehreren E-Mails gleichzeitig mit mehreren Klicks nur in Outlook speichern.
Bevor Sie die Funktion anwenden, bitte Laden Sie zuerst Kutools für Outlook herunter und installieren Sie es.

1. Wählen Sie die E-Mails mit den Anhängen aus, die Sie speichern möchten.

Tipps: Sie können mehrere nicht benachbarte E-Mails auswählen, indem Sie die Taste gedrückt halten Ctrl Taste und wählen Sie sie einzeln aus;
Oder wählen Sie mehrere benachbarte E-Mails aus, indem Sie die Taste gedrückt halten Shift Geben Sie die erste und die letzte E-Mail ein.

2 Klicken Kutoolen >AnbaugeräteSave All. Siehe Screenshot:

3. In dem Einstellungen speichern Klicken Sie auf das Dialogfeld Klicken Sie auf die Schaltfläche, um einen Ordner zum Speichern der Anhänge auszuwählen, und klicken Sie dann auf OK .

3 Klicken OK zweimal im nächsten Dialogfeld, dann werden alle Anhänge in ausgewählten E-Mails gleichzeitig in einem bestimmten Ordner gespeichert.

Anmerkungen:

  • 1. Wenn Sie Anhänge basierend auf E-Mails in verschiedenen Ordnern speichern möchten, überprüfen Sie bitte die Erstellen Sie Unterordner im folgenden Stil und wählen Sie einen Ordnerstil aus der Dropdown-Liste.
  • 2. Neben dem Speichern aller Anhänge können Sie Anhänge unter bestimmten Bedingungen speichern. Wenn Sie beispielsweise nur die PDF-Dateianhänge speichern möchten, deren Dateiname das Wort "Rechnung" enthält, klicken Sie auf Erweiterte Optionen Klicken Sie auf die Schaltfläche, um die Bedingungen zu erweitern, und konfigurieren Sie sie dann wie unten gezeigt.
  • 3. Wenn Sie Anhänge beim Eintreffen von E-Mails automatisch speichern möchten, klicken Sie auf Anhänge automatisch speichern Funktion kann helfen.
  • 4. Um die Anhänge direkt von ausgewählten E-Mails zu trennen, klicken Sie auf Alle Anhänge abnehmen Merkmal von Kutools for Outlook kann dir einen Gefallen tun.

  Wenn Sie eine kostenlose Testversion (60 Tage) dieses Dienstprogramms wünschen, Bitte klicken Sie, um es herunterzuladenund wenden Sie dann die Operation gemäß den obigen Schritten an.


In Verbindung stehende Artikel

Fügen Sie in Outlook Anhänge in den Text der E-Mail-Nachricht ein
Normalerweise werden Anhänge in einer komponierenden E-Mail im Feld Angehängt angezeigt. In diesem Lernprogramm finden Sie Methoden, mit denen Sie Anhänge einfach in den E-Mail-Text in Outlook einfügen können.

Laden Sie Anhänge automatisch aus Outlook in einen bestimmten Ordner herunter bzw. speichern Sie sie
Im Allgemeinen können Sie alle Anhänge einer E-Mail speichern, indem Sie in Outlook auf Anhänge> Alle Anhänge speichern klicken. Aber wenn Sie alle Anhänge aus allen empfangenen und empfangenen E-Mails speichern müssen, ist dies ideal? In diesem Artikel werden zwei Lösungen vorgestellt, mit denen Anhänge automatisch aus Outlook in einen bestimmten Ordner heruntergeladen werden können.

Drucken Sie 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 in Microsoft Outlook auf Datei> Drucken klicken, die Anhänge jedoch nicht. Hier zeigen wir Ihnen, wie Sie alle Anhänge in einer ausgewählten E-Mail in Microsoft Outlook problemlos drucken können.

Suchen Sie nach Wörtern in Anhängen (Inhalten) in Outlook
Wenn wir in Outlook ein Schlüsselwort in das Feld "Sofortige Suche" eingeben, wird das Schlüsselwort in den Betreffs, Körpern, Anhängen usw. von E-Mails gesucht. Jetzt muss ich das Schlüsselwort nur noch in Outlook in Anhangsinhalten suchen. Dieser Artikel zeigt Ihnen die detaillierten Schritte zum einfachen Suchen von Wörtern in Anhangsinhalten in Outlook.

Behalten Sie Anhänge bei, wenn Sie in Outlook antworten
Wenn wir eine E-Mail-Nachricht in Microsoft Outlook weiterleiten, bleiben die ursprünglichen Anhänge in dieser E-Mail-Nachricht in der weitergeleiteten Nachricht erhalten. Wenn wir jedoch eine E-Mail-Nachricht beantworten, werden die ursprünglichen Anhänge nicht an die neue Antwortnachricht angehängt. Hier werden einige Tricks zum Beibehalten der ursprünglichen Anhänge beim Antworten in Microsoft Outlook vorgestellt.


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 (81)
Rated 3.5 out of 5 · 3 ratings
This comment was minimized by the moderator on the site
Thank you for sharing the code. Unfortunately, I tried both with failure. This is what I got - The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros. Thank you.
This comment was minimized by the moderator on the site
Hi,
Please follow the instructions in the screenshot below to check if macros are enabled in the macro settings in your Outlook. After enabling both options, re-run the VBA code.

https://www.extendoffice.com/images/stories/comments/comment-picture-zxm/macro-enabled.png
This comment was minimized by the moderator on the site
Thank you so much.
Rated 5 out of 5
This comment was minimized by the moderator on the site
Thank you for sharing VBA code. This work like magic and is going to save it lots of time!
This comment was minimized by the moderator on the site
Hello friends!

Thanks for sharing this VBA code.

Is there any way to change the location of the save folder?

I share the pc with some colleagues and in this case I need the files to be saved in a password protected folder which is not located in the documents folder.

How can I make this change?

Thank you in advance
This comment was minimized by the moderator on the site
Hi Fabiana,
Change the line 14
xFolderPath = xFolderPath & "\Attachments\"

to
xFolderPath = "C:\Users\Win10x64Test\Desktop\save attachments\1\"

Here "C:\Users\Win10x64Test\Desktop\save attachments\1\" is the folder path in my case.
Don't forget to end the folder path with a slash "\"
This comment was minimized by the moderator on the site
Hello friends!

Thank you for sharing that VBA code.

Is there any way to change the location of the save folder?

I share the pc with some colleagues and in this case I need the files to be saved in a password protected folder which is not located in the documents folder.

How can I make this change?

Thank you in advance
This comment was minimized by the moderator on the site
If you are trying to run the Code that renames duplicate files and keep getting a "User Type Not Defined" error message here is the code fixed. Instead of the "Dim xFso As FileSystemObject" on line 47 it should be "Dim xFso As Variant"
Also added a Message Box to appear at the end of data transfer.

Dim GCount As Integer
Dim GFilepath As String
Public Sub SaveAttachments()
'Update 20200821
Dim xMailItem As Outlook.MailItem
Dim xAttachments As Outlook.Attachments
Dim xSelection As Outlook.Selection
Dim i As Long
Dim xAttCount As Long
Dim xFilePath As String, xFolderPath As String, xSaveFiles As String
On Error Resume Next
xFolderPath = CreateObject("WScript.Shell").SpecialFolders(16)
Set xSelection = Outlook.Application.ActiveExplorer.Selection
xFolderPath = xFolderPath & "\Attachments\"
If VBA.Dir(xFolderPath, vbDirectory) = vbNullString Then
VBA.MkDir xFolderPath
End If
GFilepath = ""
For Each xMailItem In xSelection
Set xAttachments = xMailItem.Attachments
xAttCount = xAttachments.Count
xSaveFiles = ""
If xAttCount > 0 Then
For i = xAttCount To 1 Step -1
GCount = 0
xFilePath = xFolderPath & xAttachments.Item(i).FileName
GFilepath = xFilePath
xFilePath = FileRename(xFilePath)
If IsEmbeddedAttachment(xAttachments.Item(i)) = False Then
xAttachments.Item(i).SaveAsFile xFilePath
If xMailItem.BodyFormat <> olFormatHTML Then
xSaveFiles = xSaveFiles & vbCrLf & "<Error! Hyperlink reference not valid.>"
Else
xSaveFiles = xSaveFiles & "<br>" & "<a href='file://" & xFilePath & "'>" & xFilePath & "</a>"
End If
End If
Next i
End If
Next
Set xAttachments = Nothing
Set xMailItem = Nothing
Set xSelection = Nothing
MsgBoX prompt:="File Transfer Complete", Title:="Sweatyjalapenos tha Goat"
End Sub

Function FileRename(FilePath As String) As String
Dim xPath As String
Dim xFso As Variant
On Error Resume Next
Set xFso = CreateObject("Scripting.FileSystemObject")
xPath = FilePath
FileRename = xPath
If xFso.FileExists(xPath) Then
GCount = GCount + 1
xPath = xFso.GetParentFolderName(GFilepath) & "\" & xFso.GetBaseName(GFilepath) & " " & GCount & "." + xFso.GetExtensionName(GFilepath)
FileRename = FileRename(xPath)
End If
xFso = Nothing
End Function

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
Very nice script as of 2022-10-19 works great, for me doesn't seem to change original message by adding text. The only thing I changed is I added message received date time to each file name with the following format so it would nicely sort by date time in Windows folder: "yyyy-mm-dd HH-mm-ss ".

Code:

Dim GCount As Integer
Dim GFilepath As String
Public Sub SaveAttachments()
'Update 20200821
Dim xMailItem As Outlook.MailItem
Dim xAttachments As Outlook.Attachments
Dim xSelection As Outlook.Selection
Dim i As Long
Dim xAttCount As Long
Dim xFilePath As String, xFolderPath As String, xSaveFiles As String, xDateFormat As String
On Error Resume Next
xFolderPath = CreateObject("WScript.Shell").SpecialFolders(16)
Set xSelection = Outlook.Application.ActiveExplorer.Selection
xFolderPath = xFolderPath & "\Attachments\"
If VBA.Dir(xFolderPath, vbDirectory) = vbNullString Then
VBA.MkDir xFolderPath
End If
GFilepath = ""
For Each xMailItem In xSelection
Set xAttachments = xMailItem.Attachments
xAttCount = xAttachments.Count
xSaveFiles = ""
If xAttCount > 0 Then
For i = xAttCount To 1 Step -1
GCount = 0
xDateFormat = Format(xMailItem.ReceivedTime, "yyyy-mm-dd HH-mm-ss ")
xFilePath = xFolderPath & xDateFormat & xAttachments.Item(i).FileName
GFilepath = xFilePath
xFilePath = FileRename(xFilePath)
If IsEmbeddedAttachment(xAttachments.Item(i)) = False Then
xAttachments.Item(i).SaveAsFile xFilePath
If xMailItem.BodyFormat <> olFormatHTML Then
xSaveFiles = xSaveFiles & vbCrLf & "<Error! Hyperlink reference not valid.>"
Else
xSaveFiles = xSaveFiles & "<br>" & "<a href='file://" & xFilePath & "'>" & xFilePath & "</a>"
End If
End If
Next i
End If
Next
Set xAttachments = Nothing
Set xMailItem = Nothing
Set xSelection = Nothing
End Sub

Function FileRename(FilePath As String) As String
Dim xPath As String
Dim xFso As FileSystemObject
On Error Resume Next
Set xFso = CreateObject("Scripting.FileSystemObject")
xPath = FilePath
FileRename = xPath
If xFso.FileExists(xPath) Then
GCount = GCount + 1
xPath = xFso.GetParentFolderName(GFilepath) & "\" & xFso.GetBaseName(GFilepath) & " " & GCount & "." + xFso.GetExtensionName(GFilepath)
FileRename = FileRename(xPath)
End If
xFso = Nothing
End Function

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
Hi Oigo,
This is a very useful VBA script. Thank you for sharing it.
This comment was minimized by the moderator on the site
Hi crystal,

sorry for not being clear.

I was trying to use the code above mentioned. However, apparently I was doing something wrong. I was thinking that I might need to amend some parts in the code shown. For instance the path where to save the attachments and maybe some other parts. Therefore I was asking if you could share the code highlighting the parts which needs tailoring and how to tailor them.

Many thanks,
BR
This comment was minimized by the moderator on the site
Hi Rokkie,
Did you get any error prompt when the code runs? Or which line in your code is highlighted? I need more details so I can see where you can modify the code.
This comment was minimized by the moderator on the site
Hey crystal,

completeley new to this VBA. Can you share a code to use which shows where I have to amend with an example? As a Rookie it is a bit difficult to figure it out.

I am working via a Ctrix connection. Could this be a blocker for the macro?

Much appreaciate the help.
This comment was minimized by the moderator on the site
Hi Rookie,
Sorry I don't understand what you mean: "Can you share a code to use which shows where I have to amend with an example?"
And the code operates on selected emails in Outlook, Ctrix Connection does not block the macro.
This comment was minimized by the moderator on the site
Hi, I am running this Code 1 to extract .txt files from separate sub-folders of an inbox. It works great out of one sub-folder but not at all out of another sub-folder. I have tried forwarding the relevant email and attachment into other inboxes but no luck. The files are automatically generated and sent to the different sub-folders and only vary by a single letter in their title

Any help much is appreciated
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