Przejdź do głównej zawartości

Jak zbiorczo usunąć wiele folderów / podfolderów w Outlooku?

Jak wiesz, możesz wybrać i usunąć jeden folder w okienku nawigacji naraz w programie Outlook, a zbiorcze wybranie wielu folderów wydaje się niemożliwe. Jednak usuwanie wielu folderów jeden po drugim w okienku nawigacji będzie zbyt uciążliwe. W tym artykule przedstawimy rozwiązanie umożliwiające szybkie zbiorcze usuwanie wielu folderów z programu Outlook.


Usuń wszystkie podfoldery określonego folderu za pomocą VBA w programie Outlook

Ta metoda wprowadzi VBA do zbiorczego usuwania wszystkich podfolderów określonego folderu w Outlooku. Wykonaj następujące czynności:

1. W widoku poczty wybierz określony folder, którego wszystkie podfoldery chcesz usunąć.

2. naciśnij inny + F11 klucze razem, aby otworzyć okno Microsoft Visual Basic for Applications.

3. Kliknij Wstaw> Moduł, a następnie wklej poniższy kod VBA do nowego okna modułu.

Sub Delete_All_SubFolders()
Dim oCurrFolder As Folder
Dim oSubFolders As Folders
Dim i As Long

On Error Resume Next

Set oCurrFolder = Outlook.Application.ActiveExplorer.CurrentFolder
Set oSubFolders = oCurrFolder.Folders

For i = oSubFolders.Count To 1 Step -1
oSubFolders.item(i).Delete
Next
End Sub

4. naciśnij F5 klucz do uruchomienia tego VBA. A teraz zobaczysz, że wszystkie podfoldery w wybranym folderze są usuwane zbiorczo tak szybko, jak to możliwe. Zobacz zrzut ekranu:

Szybkie wyszukiwanie i usuwanie zduplikowanych wiadomości e-mail w programie Outlook

Z Kutools dla programu Outlook Zduplikowane e-maile funkcja, możesz szybko znaleźć i usunąć je z wielu folderów poczty lub znaleźć i usunąć wszystkie duplikaty z wybranych za pomocą dwóch kliknięć w programie Outlook.


Zbiorcze usuwanie wielu folderów w programie Outlook

Wykonaj poniższe kroki, aby zbiorczo usunąć wiele folderów z programu Microsoft Outlook.

1. Kliknij prawym przyciskiem myszy konto e-mail, którego foldery usuniesz zbiorczo, wybierz Nowy folder z menu kontekstowego, a następnie nazwij nowy folder jako Temp. Zobacz zrzut ekranu poniżej:

2. Teraz przeciągnij jeden z folderów, które usuniesz, do nowego Temp folder, upuść go do nowego Temp folder jest podświetlony. Zobacz zrzut ekranu:

3. Teraz pojawi się okno dialogowe Microsoft Outlook i poprosi o potwierdzenie przeniesienia wybranego folderu. Proszę kliknąć Tak przycisk. Zobacz zrzut ekranu powyżej.

4. Powtarzaj powyższy krok 2-3, aż wszystkie foldery, które chcesz usunąć, zostaną przeniesione do nowego Temp teczka.

5. Kliknij prawym przyciskiem myszy nowy Temp folder i wybierz Usuń folder z menu kontekstowego. Zobacz zrzut ekranu poniżej:

6. W ostrzeżeniu w oknie dialogowym Microsoft Outlook kliknij plik Tak przycisk. Zobacz zrzut ekranu powyżej.

Do tej pory wszystkie foldery, które trzeba usunąć, zostały usunięte zbiorczo.


Powiązane artykuły


Najlepsze narzędzia biurowe

Kutools dla programu Outlook - Ponad 100 zaawansowanych funkcji, które usprawnią Twoje perspektywy

🤖 Asystent poczty AI: Natychmiastowe profesjonalne e-maile z magią AI — genialne odpowiedzi jednym kliknięciem, doskonały ton, biegła znajomość wielu języków. Zmień e-mailing bez wysiłku! ...

📧 Automatyzacja poczty e-mail: Poza biurem (dostępne dla POP i IMAP)  /  Zaplanuj wysyłanie wiadomości e-mail  /  Automatyczne CC/BCC według reguł podczas wysyłania wiadomości e-mail  /  Automatyczne przewijanie (Zasady zaawansowane)   /  Automatyczne dodawanie powitania   /  Automatycznie dziel wiadomości e-mail od wielu odbiorców na pojedyncze wiadomości ...

📨 Zarządzanie e-mail: Łatwe przywoływanie e-maili  /  Blokuj oszukańcze wiadomości e-mail według tematów i innych  /  Usuń zduplikowane wiadomości e-mail  /  Wiecej opcji  /  Konsoliduj foldery ...

📁 Załączniki ProZapisz zbiorczo  /  Odłącz partię  /  Kompresuj wsadowo  /  Automatyczne zapisywanie   /  Automatyczne odłączanie  /  Automatyczna kompresja ...

🌟 Magia interfejsu: 😊Więcej ładnych i fajnych emotikonów   /  Zwiększ produktywność programu Outlook dzięki widokom na kartach  /  Zminimalizuj program Outlook zamiast go zamykać ...

>> Cuda jednym kliknięciem: Odpowiedz wszystkim, dodając przychodzące załączniki  /   E-maile chroniące przed phishingiem  /  🕘Pokaż strefę czasową nadawcy ...

👩🏼‍🤝‍👩🏻 Kontakty i kalendarz: Grupowe dodawanie kontaktów z wybranych e-maili  /  Podziel grupę kontaktów na pojedyncze grupy  /  Usuń przypomnienia o urodzinach ...

O Cechy 100 Poczekaj na eksplorację! Kliknij tutaj, aby dowiedzieć się więcej.

 

 

Comments (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
One thing I didn't add from above is that my active Inbox (the one that actually harvests the new mail messages )now in Outlook is the Inbox that is in my set of GMail folders. Yes, I now have 2 Inboxes, along with the other duplicates. If I were to delete that whole set of folders that includes my GMail inbox, I wouldn't see any new emails coming into Outlook. Therefore, I'm leaving things as they are, at least for now.
This comment was minimized by the moderator on the site
yes, that's correct. I'm seeing a duplicate set of folders now(below the original set) in Outlook that are my GMail folders. They weren't there before I installed this new Office version. I was using Outlook 2016 desktop client ver. previously. Now, for instance, if I delete an email in Outlook, I see a small "synchronizing trash" window at the bottom of Outlook where it indicates that it's duplicating that deletion in GMail. I didn't have this before. As stated above, I can live with it, but it's just a bit different now.
This comment was minimized by the moderator on the site
I recently downloaded the new Office Pro 2021 for Windows which includes Outlook. I was using the 2016 version until now. The new installation went fine, but now I seem to have all of my Gmail folders appearing in Outlook also; they're below the original folders that I had before the conversion to the new Office. Any new emails that I get now come into the "Gmail" inbox instead of my original Inbox, which is still there. If I delete the Gmail folder and its subfolders I don't think my new emails will appear. I thought it might have been because IMAP was enabled in my Gmail settings. I disabled IMAP (to use only POP3), but the new emails still come into that Gmail inbox. Is there a way to fix this? If not, I can live with it....at least Outlook is harvesting the mail from my Gmail account. Thanks in advance.
This comment was minimized by the moderator on the site
Hi there, did you mean that you log in the same gmail account both in Outlook and Gmail?
Amanda
This comment was minimized by the moderator on the site
Thank you! This works!
This comment was minimized by the moderator on the site
This adds a step to an already arduous job. Is this a joke?
This comment was minimized by the moderator on the site
The VBA method to delete all subfolders works, thank you.
This comment was minimized by the moderator on the site
This is nonsense. I somehow have approx 300 trash subfolders, 300 note subfolders etc. Why can't I shift scroll to delete all?
This comment was minimized by the moderator on the site
This is a terrible solution! You still have to handle each folder individually! If you have hundreds of folders to delete, how is this any better than going one-by-one and deleting them? Using this "system", you have to go one-by-one and add them to a folder, then delete THAT folder. No better!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations