Outlook 2016- unable to have all subfolders expanded when opening outlook

Not open for further replies.


New Member
Outlook version
Outlook 2010 64 bit
Email Account
Exchange Server
I have a user that has Outlook 2016. She wants to have all her subfolders (everything), and Online Archives (Cloud Based) expanded all the time especially when she opens up Outlook. She does not want to have to expand any folder in the folder list. I have tried these steps below, but it does not seem to work. I wanted to see if anyone else had any other ideas..

Go to View > View Settings > Group By >
Click on the last option Expand/Collapse Defaults – and choose All Expanded.
Click Ok (Twice).
Close Outlook.
Reopen Outlook.

Thank you
I have not heard from anyone on this post and wondered if anyone has any ideas. Thank you very much!
I've also posted a question and getting zero answers. Is Diane ok because she's usually right on top of this stuff.
I'm fine - I'm just not getting all of the posts by email for some reason. :(

Outlook doesn't have a setting to expand folders automatically but it can be done using a macro.
Expand All Folders - VBOffice
Diane- Thanks for letting me know about adding the macro, but in reading it over, I am not sure how to add the info in. Would you be able to tell me how to create the macro and add the text?
A video showing how to use the macro is on youtube
As an FYI, i have an error in the video - i tell you to change the wrong True to False
change this one:
ExpandDefaultStoreOnly = True

Set Ns = Application.GetNamespace("Mapi")
Set CurrF = Application.ActiveExplorer.CurrentFolder

Not this one:
If ExpandDefaultStoreOnly = True Then
Set F = Ns.GetDefaultFolder(olFolderInbox)
Hi- Thank you- I'm a little confused. Do I need to make this = False below or just leave it as is to true?

ExpandDefaultStoreOnly = True

Set Ns = Application.GetNamespace("Mapi")
Set CurrF = Application.ActiveExplorer.CurrentFolder
It will work as long as you only change one of the trues to false, so it doesn't really matter, but the first one is the one that was intended to be changed.

Change this true to False
ExpandDefaultStoreOnly = True

don't change this one -
If ExpandDefaultStoreOnly = True The
Diane- Thanks- the macros appears to run and open up all the folders I have. However, I noticed one problem after the macros runs.

If I click on the Inbox, my views do not hold. For a second I see To, subject, date, from, etc. but then the setting does not stay. I have gone to View Settings and select them- Save but they do not appear to hold. It seem like it is doing this for every folder I have. Below is a picture of my inbox- As you can see the headers (Subject, To, From, is missing) Please advise.
Image Of Mailbox.JPG
so i see here too. i'm assuming it is a resource issue, but haven't been able to fix it.
weird... i copied the macro from the web page and ran it manually, and it worked - views are fine. it seems to be a problem when it runs at startup.

i did find one fix - after outlook is done with the macro, right click on a folder and choose open in new window, then close the first one.

i also added this to the macro:
Set Folders = Nothing
Set CurrF = Nothing
Set Ns = Nothing
End Sub
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
B Outlook 2016 Unable to view images or logos on the outlook 2016 emails the same html code works well when i use outlook 2010 Using Outlook 0
Q Unable to Sync Quicken reminder with Outlook 2016 64Bit Using Outlook 1
avant-guvnor Unable to view certain emails in Outlook 2016 Using Outlook 16
M Outlook 2016 still feature updating Using Outlook 0
farrissf Outlook 2016 Optimizing Email Searches in Outlook 2016: Seeking Insights on Quick Search vs Advanced Search Features Using Outlook 0
S Outlook 2016 and Acrobat PDFMaker Office COM Addin Using Outlook 0
W Outlook 2016 MSI - Possible to make work with O365 modern Auth & Win7? Using Outlook 4
J Outlook 2016 Trying to get Outlook 2016 to work with Office 365 Using Outlook 0
W Transfer Outlook 2016 autocomplete file to Outlook 2007 Using Outlook 1
J Outlook 2016 Can't display some embedded HTML images in Outlook 2016 Using Outlook 2
J Outlook 365 Outlook 2016/365 Contacts Lose Info when Favorited to the To-Do Bar Using Outlook 2
O Moving "tasks" to inbox in Outlook 2016 Using Outlook 1
Z Remove GMAIL IMAP account from Outlook 2016 Using Outlook 2
P Prevent Outlook 2016 from using DASL filter Using Outlook 4
bhamberg Shortcuts in Folder Pane (Outlook 2016) Using Outlook 19
G Outlook 2016: Want IMAP Data Files on My D: Drive and Not C: Drive Using Outlook 1
D Outlook 2016 64bit, Cannot Save in 'HTML', format Using Outlook 1
P Color Code or highlight folders in Outlook 2016 Using Outlook 2
B vBA for exporting excel file from outlook 2016 Outlook VBA and Custom Forms 3
M Issue transferring Outlook 2016 email accounts & settings onto new computer Using Outlook 8
glnz Can Word Normal.dotm interfere with Outlook? Office 2016 Using Outlook 5
D Outlook 2016 and Earlier with Office365 in 2021 Using Outlook 3
B Outlook 2016 Retail C2R keeps logging since update? Using Outlook 0
V Outlook 2016 Does Outlook-2016 (64 bit) work with iCloud for Windows ? Using Outlook 5
R Microsoft Outlook 2016 - Gmail not sending, asks for password for SMTP, tried different ports Using Outlook 23
V Outlook 2016 Outlook-2016 and iCloud for Windows - Problems Using Outlook 11
U Outlook 2016 Outlook 2016 sender name Using Outlook 1
S Outlook (2016 32bit; Gmail IMAP) - Save sent message to Outllook Folder Outlook VBA and Custom Forms 0
A Backup Email Accounts On OutLook For Mac 2016 (Microsoft 365 subscription version) Using Outlook 0
M Office 2016 Outlook is forgetting passwords Using Outlook 15
E Can one still buy Outlook (or Office) 2016? Using Outlook 6
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
R seperate read layout to design in outlook 2016..Help!! Outlook VBA and Custom Forms 3
GregS Why is Outlook 2016 mail in Outlook.com? Using Outlook 1
G Recurring tasks break links Outlook 2016 Using Outlook 5
A How to get body of all emails in outlook 2016 to view in blue color Using Outlook 1
J Edit auto-complete list in Outlook 2016+/365? Using Outlook 0
D iCloud Add-in not working in Outlook 2013 and Outlook 2016 After Windows Upgrade & iCloud Upgrade Using Outlook 2
GregS Outlook 2016 iPhone won't download Outlook 2016 Mail. Using Outlook 0
E How to display "Change Folder" in Change Default Email Delivery Location in Exchange Outlook 2016 Using Outlook 1
A How to open a specific link automatically with outlook 2016 Outlook VBA and Custom Forms 6
V Outlook 2016 will not move emails in search results Using Outlook 4
K Using Outlook 2016 to draw Using Outlook 1
M Outlook 2016 Free/Busy settings ignored Using Outlook 0
K Outlook 2016 - controlling IMAP OST size with Group Policy not working Using Outlook 1
C Outlook 2016/2019 hangs after being open for an extended period Using Outlook 4
GregS 2016 Contact List being managed by Outlook.com? Using Outlook 1
A Outlook 2016 in Cached Mode Using Outlook 1
G Outlook 2016 sync contacts directly between phone and computer using outlook 2016 Using Outlook 0
N Outlook 2016 Folder Icons Look Using Outlook 0

Similar threads