ไปยังเนื้อหาหลัก

จะลบโฟลเดอร์ / โฟลเดอร์ย่อยหลาย ๆ โฟลเดอร์ใน Outlook ได้อย่างไร?

ดังที่คุณทราบคุณสามารถเลือกและลบหนึ่งโฟลเดอร์ในบานหน้าต่างนำทางพร้อมกันใน Outlook และดูเหมือนว่าจะเป็นไปไม่ได้ที่จะเลือกหลายโฟลเดอร์พร้อมกัน อย่างไรก็ตามการลบหลายโฟลเดอร์ทีละโฟลเดอร์จากบานหน้าต่างนำทางจะน่าเบื่อเกินไป บทความนี้จะแนะนำวิธีการลบโฟลเดอร์จำนวนมากจาก Outlook อย่างรวดเร็ว


ลบโฟลเดอร์ย่อยทั้งหมดของโฟลเดอร์ที่ระบุด้วย VBA ใน Outlook

วิธีนี้จะแนะนำ VBA เพื่อลบโฟลเดอร์ย่อยทั้งหมดของโฟลเดอร์บางโฟลเดอร์ใน Outlook กรุณาดำเนินการดังนี้:

1. ในมุมมองเมลให้เลือกโฟลเดอร์ที่ระบุซึ่งคุณจะลบโฟลเดอร์ย่อยทั้งหมด

2. กด อื่น ๆ + F11 คีย์ร่วมกันเพื่อเปิดหน้าต่าง Microsoft Visual Basic for Applications

3. คลิกสิ่งที่ใส่เข้าไป> โมดูลจากนั้นวางโค้ด VBA ด้านล่างลงในหน้าต่างโมดูลใหม่

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. กด F5 กุญแจสำคัญในการเรียกใช้ VBA นี้ และตอนนี้คุณจะเห็นโฟลเดอร์ย่อยทั้งหมดภายใต้โฟลเดอร์ที่เลือกถูกลบออกเป็นกลุ่มโดยเร็วที่สุด ดูภาพหน้าจอ:

ค้นหาและลบอีเมลที่ซ้ำกันอย่างรวดเร็วใน Outlook

ด้วย Kutools for Outlook's อีเมลที่ซ้ำกัน คุณสามารถค้นหาและลบออกจากโฟลเดอร์อีเมลหลาย ๆ โฟลเดอร์ได้อย่างรวดเร็วหรือค้นหาและลบรายการที่ซ้ำกันทั้งหมดจากรายการที่เลือกด้วยการคลิกสองครั้งใน Outlook


ลบโฟลเดอร์จำนวนมากใน Outlook

โปรดทำตามขั้นตอนด้านล่างเพื่อลบหลายโฟลเดอร์จำนวนมากจาก Microsoft Outlook

1. คลิกขวาที่บัญชีอีเมลที่มีโฟลเดอร์ที่คุณจะลบจำนวนมากเลือก โฟลเดอร์ใหม่ จากเมนูบริบทจากนั้นตั้งชื่อโฟลเดอร์ใหม่เป็น ชั่วคราว. ดูภาพหน้าจอด้านล่าง:

2. ตอนนี้ลากหนึ่งในโฟลเดอร์ที่คุณจะลบไปที่ใหม่ ชั่วคราว วางไว้จนกว่าไฟล์ ชั่วคราว โฟลเดอร์จะถูกเน้น ดูภาพหน้าจอ:

3. ตอนนี้กล่องโต้ตอบ Microsoft Outlook จะปรากฏขึ้นและขอคำยืนยันจากคุณเกี่ยวกับการย้ายโฟลเดอร์ที่เลือก กรุณาคลิกที่ไฟล์ ใช่ ปุ่ม. ดูภาพหน้าจอด้านบน

4. ทำซ้ำขั้นตอนที่ 2-3 ข้างต้นจนกว่าโฟลเดอร์ทั้งหมดที่คุณจะลบจะถูกย้ายไปที่โฟลเดอร์ใหม่ ชั่วคราว โฟลเดอร์

5. คลิกขวาที่ไฟล์ ชั่วคราว โฟลเดอร์และเลือก ลบโฟลเดอร์ จากเมนูบริบท ดูภาพหน้าจอด้านล่าง:

6. ในกล่องโต้ตอบคำเตือน Microsoft Outlook โปรดคลิกที่ไฟล์ ใช่ ปุ่ม. ดูภาพหน้าจอด้านบน

จนถึงตอนนี้โฟลเดอร์ทั้งหมดที่คุณต้องการลบได้ถูกลบออกจำนวนมาก


บทความที่เกี่ยวข้อง


สุดยอดเครื่องมือเพิ่มผลผลิตในสำนักงาน

Kutools สำหรับ Outlook - คุณสมบัติอันทรงพลังมากกว่า 100 รายการเพื่อเติมพลังให้กับ Outlook ของคุณ

🤖 ผู้ช่วยจดหมาย AI: ส่งอีเมลระดับมืออาชีพทันทีด้วยเวทมนตร์ AI คลิกเพียงครั้งเดียวเพื่อตอบกลับอย่างชาญฉลาด น้ำเสียงที่สมบูรณ์แบบ การเรียนรู้หลายภาษา เปลี่ยนรูปแบบการส่งอีเมลอย่างง่ายดาย! ...

📧 การทำงานอัตโนมัติของอีเมล: ไม่อยู่ที่สำนักงาน (ใช้ได้กับ POP และ IMAP)  /  กำหนดการส่งอีเมล  /  Auto CC/BCC ตามกฎเมื่อส่งอีเมล  /  ส่งต่ออัตโนมัติ (กฎขั้นสูง)   /  เพิ่มคำทักทายอัตโนมัติ   /  แบ่งอีเมลผู้รับหลายรายออกเป็นข้อความส่วนตัวโดยอัตโนมัติ ...

📨 การจัดการอีเมล์: เรียกคืนอีเมลได้อย่างง่ายดาย  /  บล็อกอีเมลหลอกลวงตามหัวเรื่องและอื่นๆ  /  ลบอีเมลที่ซ้ำกัน  /  การค้นหาขั้นสูง  /  รวมโฟลเดอร์ ...

📁 ไฟล์แนบโปรบันทึกแบทช์  /  การแยกแบทช์  /  การบีบอัดแบบแบตช์  /  บันทึกอัตโนมัติ   /  ถอดอัตโนมัติ  /  บีบอัดอัตโนมัติ ...

🌟 อินเตอร์เฟซเมจิก: 😊อีโมจิที่สวยและเจ๋งยิ่งขึ้น   /  เพิ่มประสิทธิภาพการทำงาน Outlook ของคุณด้วยมุมมองแบบแท็บ  /  ลดขนาด Outlook แทนที่จะปิด ...

???? เพียงคลิกเดียวสิ่งมหัศจรรย์: ตอบกลับทั้งหมดด้วยไฟล์แนบที่เข้ามา  /   อีเมลต่อต้านฟิชชิ่ง  /  🕘 แสดงโซนเวลาของผู้ส่ง ...

👩🏼‍🤝‍👩🏻 รายชื่อและปฏิทิน: แบทช์เพิ่มผู้ติดต่อจากอีเมลที่เลือก  /  แบ่งกลุ่มผู้ติดต่อเป็นกลุ่มแต่ละกลุ่ม  /  ลบการแจ้งเตือนวันเกิด ...

เกิน คุณสมบัติ 100 รอการสำรวจของคุณ! คลิกที่นี่เพื่อค้นพบเพิ่มเติม

 

 

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