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!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,682
Messages
5,838,784
Members
430,568
Latest member
bortey

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