Directory Tree using Excel/VBA - Retrieve Author/Owner Details as well as file attributes..

Hi.
I have the attached file which was a download from another website where it works like directory tree generator.
This works great however I would like it to also display Author/Owner details of the file if applicable/available (i.e if it is an office file), (File->Properties->Author from Word, Excel, Access menu) - Is this possible, just to add a column at the end? Would the VBA need to actually open each file to get the information?

Many thanks,
DirectoryTree.xls
jasocke2Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris BottomleySoftware Quality Lead EngineerCommented:
It is possible to scale the application up BUT it will need to open each office file in turn to get the data and this will slow things up quite a lot per file.

Chris
0
Rory ArchibaldCommented:
If you have the dsofile.dll (downloadable from MS) then you won't need to open the files, which should speed things up.
0
Rory ArchibaldCommented:
Follow-up: you can download it from here: http://support.microsoft.com/kb/224351
Regards,
Rory
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

DaveCommented:
It's a bit late for me to start modifying this code but you can use Shell to get these detals - and more - without opening the file

My code at vbax , http://www.vbaexpress.com/kb/getarticle.php?kb_id=405 runs a recursive search to make the tree for

"Path" ,"File Name" ,  "Last Accessed" , "Last Modified" ,  "Created" ,  "Type" ,  "Size" ,   "Owner" ,   "Author" ,  "Title" ,   "Comments"

this code offers 2 benefits over the code you have posted
- it will work in xl2007. The code you have posted uses FileSearch which MSFT removed in 2007.
- it uses arrays rather than cell by cell writes so will be much quicker for long lists

Cheers
Dave
0
DaveCommented:
Copy of my workbook from the link above

Cheers
Dave

FileAtt-KB17-.zip
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Chris BottomleySoftware Quality Lead EngineerCommented:
Takes foot from mouth to splutter!, some more research for me to undertake.

Chris
0
jasocke2Author Commented:
Couldn't be more spot on! Thanks
0
jasocke2Author Commented:
Thanks for all your answers, brettdj's answer served me well! Thanks.
0
DaveCommented:
thx for the grade :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.