This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Files
  • Records
  • Records
  • Records
  • Records
  • Records
  • Records
  • Records
  • Records
  • Records
  • Recipes
  • Article (Rating System)
  • News
  • News update
  • Videos
  • Images
  • More Options
  1. Forum
  2. News
  3. Hardware
    1. 3D-Accelerator
    2. CPU-Sockets
    3. RAM
    4. HDMI & Display Port
    5. USB
    6. Thunderbolt
    7. Connectors / Ports
  4. Timelines
    1. ICT Timeline
      1. Categories
      2. All Records
      3. ICT Timeline - The Beginnings
      4. ICT Timeline - 60s/70s
      5. ICT Timeline - 80s
      6. ICT Timeline - 90s
      7. ICT Timeline - 00s
      8. ICT Timeline - 10s
    2. OS Timeline
      1. Categories
      2. All Records
      3. DOS
      4. Windows
      5. MacOS
  5. Parcum
    1. Parcum - Map
    2. Parcum - All Entries
    3. Parcum - Countries
    4. Parcum - Categories
  6. Reviews
  7. Rezepte
  8. Other
    1. Downloads
    2. Link-Library
    3. Restaurants, Snacks and more
    4. ISeeT Tools
    5. ISeeT Photos
    6. YouTube Videos
    7. ISeeT TV
    8. ISeeT TV on Tour
  • Login
  • Register
  • Search
  1. ISeeT Forums
  2. ICT (Information & Communication Technology)
  3. Software
  4. Mail / Outlook

How To Batch Delete All Empty Folders In Outlook?

  • ISeeTWizard
  • 26 October 2025 at 11:30
1st Official Post
  • ISeeTWizard
    Administrator
    Points
    4.865
    Posts
    161
    Files
    32
    News
    14
    Videos
    57
    Images
    185
    • 26 October 2025 at 11:30
    • Official Post
    • #1

    Press Alt + F11 keys to open the Microsoft Visual Basic for Applications window.

    Click Insert > Module, and paste below VBA code into the new module window.

    VBA
    Public Sub DeletindEmtpyFolder()
    Dim xFolders As Folders
    Dim xCount As Long
    Dim xFlag As Boolean
    Set xFolders = Application.GetNamespace("MAPI").PickFolder.Folders
    Do
    FolderPurge xFolders, xFlag, xCount
    Loop Until (Not xFlag)
    If xCount > 0 Then
    MsgBox "Deleted " & xCount & "(s) empty folders", vbExclamation + vbOKOnly, "Kutools for Outlook"
    Else
    MsgBox "No empty folders found", vbExclamation + vbOKOnly, "Kutools for Outlook"
    End If
    End Sub
     
    Public Sub FolderPurge(xFolders, xFlag, xCount)
    Dim I As Long
    Dim xFldr As Folder 'Declare sub folder objects
    xFlag = False
    If xFolders.Count > 0 Then
    For I = xFolders.Count To 1 Step -1
    Set xFldr = xFolders.Item(I)
    If xFldr.Items.Count < 1 Then 'If the folder is empty check for subfolders
    If xFldr.Folders.Count < 1 Then 'If the folder contains not sub folders confirm deletion
    xFldr.Delete 'Delete the folder
    xFlag = True
    xCount = xCount + 1
    Else 'Folder contains sub folders so confirm deletion
    FolderPurge xFldr.Folders, xFlag, xCount
    End If
    Else 'Folder contains items or (subfolders that may be empty).
    FolderPurge xFldr.Folders, xFlag, xCount
    End If
    Next
    End If
    End Sub
    Display More

    Press F5 Key or Run button to run this VBA code.

    In the popping out Select Folder dialog box, please select the specific folder whose empty subfolders you will delete in bulk, and click the OK button.

    Now a Kutools for Outlook dialog box comes out and shows you how many empty subfolders have been deleted. Click the OK button to close it.
    Until now, all subfolders of the specified Outlook folder have been deleted in bulk already.

    This FAQ comes from the following website:

    How to batch delete all empty folders in Outlook?
    Learn how to delete empty folders in Outlook to keep your mailbox organized and clutter-free.
    www.extendoffice.com

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login

Latest Posts

  1. Resize EFI partition

    ISeeTWizard
    27 July 2026 at 10:32
  2. Old News deleted

    ISeeTWizard
    10 July 2026 at 12:51
  3. 📢 Important Update: News & Reviews are Getting a New Home!

    ISeeTWizard
    6 July 2026 at 08:35
  4. Activate Office 2024 GVLK with your KMS Server

    ISeeTWizard
    1 July 2026 at 11:25
  5. Install Office 2024 GVLK

    ISeeTWizard
    1 July 2026 at 11:22

Did you know…?

“You may not control all the events that happen to you, but you can decide not to be reduced by them.”

Maya Angelou

“Be persistent and never give up hope.”

George Lucas

“There is no perfection, only life.”

Milan Kundera

“Keep your face towards the sunshine and shadows will fall behind you.”

Walt Whitman

“One of the deep secrets of life is that all that is really worth doing is what we do for others.”

Lewis Carroll

“Don’t judge each day by the harvest you reap but by the seeds that you plant.”

Robert Louis Stevenson

“When you have a dream, you’ve got to grab it and never let go.”

Carol Burnett

“If you live long enough, you’ll make mistakes. But if you learn from them, you’ll be a better person.”

Bill Clinton

“Get busy living or get busy dying.”

Stephen King

“If you don’t like the road you’re walking, start paving another one.”

Dolly Parton

“If you have knowledge, let others light their candles in it.”

Margaret Fuller

“Be sure you put your feet in the right place, then stand firm.”

Abraham Lincoln

“Be where you are; otherwise you will miss your life.”

Buddha

“You will face many defeats in life, but never let yourself be defeated.”

Maya Angelou

“Find out who you are and do it on purpose.”

Dolly Parton

“There are no regrets in life. Just lessons.”

Jennifer Aniston

You cannot change what you refuse to confront.

“Success is stumbling from failure to failure with no loss of enthusiasm.”

Winston Churchill

“We make a living by what we get, but we make a life by what we give.”

Winston Churchill

“It’s amazing how a little tomorrow can make up for a whole lot of yesterday.”

John Guare

“Live in the sunshine, swim the sea, drink the wild air.”

Ralph Waldo Emerson

“There’s love enough in this world for everybody, if people will just look.”

Kurt Vonnegut

“We pass through this world but once.”

Stephen Jay Gould

“Dreaming, after all, is a form of planning.”

Gloria Steinem

“My wish for you is that you continue. Continue to be who you are, to astonish a mean world with your acts of kindness.”

Maya Angelou

“I’m not going to continue knocking that old door that doesn’t open for me. I’m going to create my own door and walk through that.”

Ava DuVernay

“Next time, ask ‘What’s the worst that will happen?’ Then push yourself a little further than you dare.”

Audre Lorde

“Ambition is the path to success. Persistence is the vehicle you arrive in.”

Bill Bradley

“Whatever we are, whatever we make of ourselves, is all we will ever have—and that, in its profound simplicity, is the meaning of life.”

Philip Appleman

“We have to dare to be ourselves, however frightening or strange that self may prove to be.”

May Sarton

“Good friends, good books, and a sleepy conscience: This is the ideal life.”

Mark Twain

“Do one thing every day that scares you.”

Eleanor Roosevelt

“Spread love everywhere you go. Let no one ever come without leaving happier.”

Mother Teresa

“The great courageous act that we must all do is to have the courage to step out of our history and past so that we can live our dreams.”

Oprah Winfrey

“The future belongs to those who believe in the beauty of their dreams.”

Eleanor Roosevelt

“Never let the fear of striking out keep you from playing the game.”

Babe Ruth

“Life is made of ever so many partings welded together.”

Charles Dickens

“It does not matter how slowly you go, as long as you do not stop.”

Confucius

“All dreams are within reach. All you have to do is keep moving towards them.”

Viola Davis

“The simple things are also the most extraordinary things, and only the wise can see them.”

Paulo Coelho

“When I let go of what I am, I become what I might be.”

Lao Tzu

“The purpose of life is to live it, to taste experience to the utmost, to reach out eagerly and without fear for newer and richer experience.”

Eleanor Roosevelt

“The art of life is to know how to enjoy a little and to endure very much.”

William Hazlitt

“Just when you think it can’t get any worse, it can. And just when you think it can’t get any better, it can.”

Nicholas Sparks

“Life has no limitations, except the ones you make.”

Les Brown

“We are here to add what we can to life, not to get what we can from life.”

William Osler

“Always go with your passions. Never ask yourself if it’s realistic or not.”

Deepak Chopra

“The biggest adventure you can take is to live the life of your dreams.”

Oprah Winfrey

“Life is very interesting…in the end, some of your greatest pains become your greatest strengths.”

Drew Barrymore

“I believe that if you’ll just stand up and go, life will open up for you. Something just motivates you to keep moving.”

Tina Turner

“Tomorrow is a new day. You shall begin it serenely and with too high a spirit to be encumbered with your old nonsense.”

Ralph Waldo Emerson

“Failure is a great teacher and, if you are open to it, every mistake has a lesson to offer.”

Oprah Winfrey

“The world you desire can be won. It exists... it is real... it is possible... it’s yours.”

Ayn Rand

“Dream big and dare to fail.”

Norman Vaughan

“Always do your best. What you plant now, you will harvest later.”

Og Mandino

“Coming together is a beginning; keeping together is progress; working together is success.”

Henry Ford

“I may not have gone where I intended to go, but I think I have ended up where I needed to be.”

Douglas Adams

“It is never too late to be what you might have been.”

George Elliot

“You only live once, but if you do it right, once is enough.”

Mae West

“There are so many great things in life; why dwell on negativity?”

Zendaya

“Once you face your fear, nothing is ever as hard as you think.”

Olivia Newton-John

“No need to hurry. No need to sparkle. No need to be anybody but oneself.”

Virginia Woolf

“Life is a daring adventure or it is nothing at all.”

Helen Keller

“In three words I can sum up everything I’ve learned about life: It goes on.”

Robert Frost

“Life does not have to be perfect to be wonderful.”

Annette Funicello

“It is better to fail in originality than to succeed in imitation.”

Herman Melville

“Before anything else, preparation is the key to success.”

Alexander Graham Bell

“Don’t take yourself too seriously. Know when to laugh at yourself, and find a way to laugh at obstacles that inevitably present themselves.”

Halle Bailey

“There is no passion to be found playing small—in settling for a life that is less than the one you are capable of living.”

Nelson Mandela

“The only thing we have to fear is fear itself.”

Franklin D. Roosevelt

“The future is not something we enter. The future is something we create.”

Leonard I. Sweet

“For me, becoming isn’t about arriving somewhere or achieving a certain aim. I see it instead as forward motion, a means of evolving, a way to reach continuously toward a better self. The journey doesn’t end.”

Michelle Obama

“Some people want it to happen, some wish it would happen, others make it happen.”

Michael Jordan

“Living might mean taking chances, but they’re worth taking.”

Lee Ann Womack

“You can’t help what you feel, but you can help how you behave.”

Margaret Atwood

“Everything you can imagine is real.”

Pablo Picasso

“It is during our darkest moments that we must focus to see the light.”

Aristotle

“You can be everything. You can be the infinite amount of things that people are.”

Kesha

“Always remember that you are absolutely unique. Just like everyone else.”

Margaret Mead

“Life is like riding a bicycle. To keep your balance, you must keep moving.”

Albert Einstein

“Life isn’t about finding yourself. Life is about creating yourself.”

George Bernard Shaw

“Nothing is impossible. The word itself says ‘I’m possible!’”

Audrey Hepburn

“The fear of death follows from the fear of life. A man who lives fully is prepared to die at any time.”

Mark Twain

“For the great doesn’t happen through impulse alone, and is a succession of little things that are brought together.”

Vincent Van Gogh

“Let us make our future now, and let us make our dreams tomorrow’s reality.”

Malala Yousafzai

“If you don’t have any shadows, you’re not in the light.”

Lady Gaga

“It is better to be hated for what you are than to be loved for what you are not.”

Andre Gide

“The new dawn blooms as we free it. For there is always light if only we’re brave enough to see it, if only we’re brave enough to be it.”

Amanda Gorman

“Life is what happens to you when you are busy making other plans.”

John Lennon

“Keep smiling, because life is a beautiful thing and there’s so much to smile about.”

Marilyn Monroe

“Don’t worry about failure, you only have to be right once.”

Drew Houston

“And when you want something, all the universe conspires in helping you achieve it.”

Paulo Coelho

“The future belongs to those who prepare for it today.”

Malcolm X

“You have to believe in yourself when no one else does.”

Serena Williams

“Be yourself; everyone else is already taken.”

Oscar Wilde

“Dreams do not come true just because you dream them. It’s hard work that makes things happen. It’s hard work that creates change.”

Shonda Rhimes

“To succeed in life, you need three things: a wishbone, a backbone, and a funnybone.”

Reba McEntire

“Yesterday is but today’s memory and tomorrow is today’s dream.”

Khalil Gibran

“We must let go of the life we have planned, so as to accept the one that is waiting for us.”

Joseph Campbell

“I’m not going to continue knocking on that old door that doesn’t open for me. I’m going to create my own door and walk through that.”

W.P. Kinsella

“You don’t always need a plan. Sometimes you just need to breathe, trust, let go and see what happens.”

Mandy Hale

Visits

  • 189 Today
  • 1.164 Yesterday
  • 3.523 This Week
  • 4.064 Last Week
  • 9.063 This Month
  • 7.090 Last Month
  • 23.776 This Year
  • 0 Last Year
  • Ø 173,55 per day
  • 23.776 Total

Last updated: 13 August 2026 at 04:43

  1. Cookie Policy
  2. Privacy Policy
  3. Contact
  4. Legal Notice
  1. IT-Tools
  2. Link-Library
  3. Downloads
  4. Restaurants, Snacks and more
Powered by WoltLab Suite™
Style: Ambience by cls-design
Stylename
Ambience
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design