Folders and Files Tree View

ScotTFO

Board Regular
Joined
May 30, 2008
Messages
72
I don't want to recreate the wheel here but also I can't find what I am looking for anywhere. It seems like this may be fairly common, if not I will go ahead and make one myself, but if someone has something like this it'd be MUCH appreciated!

I am looking for a macro that will go into a folder, and show the file/folder structure in a tree view like internet explorer. As well as displaying the sizes of the files on an excel worksheet.

I know there's an addin that does this perfectly, but I have to use a macro for this.

So if anyone has one please can you share it? If not, like I said I am confident I am capable of making one, but don't want to re-invent the wheel if someone has done it already.

Thanks!
 

Some videos you may like

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Watch MrExcel Video

Forum statistics

Threads
1,123,304
Messages
5,600,862
Members
414,409
Latest member
FloordAlex

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top