Check files in the folder

newapa

Board Regular
Joined
Sep 13, 2012
Messages
69
I wonder how to check in folder and check all the files in the folder after that write it to excel sheets? lets illustrate like this. i got 2 folder and in those 2 folder i got alot of files. And the file got same name, same size, same date. somthing like this. but in file property we can find size and date or time.

Code:
<code style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; ">folder1            folder2
file1              file1
file2              file2
file3              file3
etc.               ect.

sheest1
folder [COLOR=#800000]1[/COLOR]                                              folder2
File Name      file size         file [COLOR=#00008B]date[/COLOR]            file name2     file size2    file date2
file1          [COLOR=#800000]52[/COLOR]kb            [COLOR=#800000]2012[/COLOR]-[COLOR=#800000]05[/COLOR]-[COLOR=#800000]02[/COLOR] [COLOR=#800000]00.00.00[/COLOR]    file1          [COLOR=#800000]52[/COLOR]kb         [COLOR=#800000]2012[/COLOR]-[COLOR=#800000]05[/COLOR]-[COLOR=#800000]02[/COLOR] [COLOR=#800000]00.00.00[/COLOR] 
file2          [COLOR=#800000]150[/COLOR]kb           [COLOR=#800000]2012[/COLOR]-[COLOR=#800000]06[/COLOR]-[COLOR=#800000]04[/COLOR] [COLOR=#800000]05.58.00[/COLOR]    file2          [COLOR=#800000]180[/COLOR]kb        [COLOR=#800000]2012[/COLOR]-[COLOR=#800000]06[/COLOR]-[COLOR=#800000]04[/COLOR] [COLOR=#800000]05.58.00[/COLOR]
ect.</code>


and so on.
i hope that explain my question.
 
Last edited:

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,214,658
Messages
6,120,778
Members
448,992
Latest member
prabhuk279

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
Back
Top