How to list all folders and subfolders in Ex…
https://www.extendoffice.com/documents/excel/2219-excel-list-all-folders-and-subfolders.html
List Folders Subfolders Project:Instructions to Execute the Procedure Open the Microsoft Visual Basic for Applications window by pressing ALT + F11 keys. Insert a new module from the Insert menu. Copy and paste the VBA code that can list all folders and subfolder names into the module window. You can find the code from the web search results or other sources. Run the code by pressing F5 key or clicking Run button. Check the output in the ‘Folder Details’ worksheet. Open VBA Editor window or Press Alt+F11. Insert a new module from the Insert menu. Copy the above procedure and paste it in the newly created module.
Open the Microsoft Visual Basic for Applications window by pressing ALT + F11 keys.
Insert a new module from the Insert menu.
Copy and paste the VBA code that can list all folders and subfolder names into the module window. You can find the code from the web search results or other sources.
Run the code by pressing F5 key or clicking Run button.
Check the output in the ‘Folder Details’ worksheet.
Open VBA Editor window or Press Alt+F11.
Copy the above procedure and paste it in the newly created module.
DA: 14 PA: 16 MOZ Rank: 88