Capture details in multiple files into Excel sheet?

Associate
Joined
20 Oct 2005
Posts
112
Hi, hope this is the right forum.

I have to capture details of customers of ours from within hundreds of files across several different folder levels and put them in a spreadsheet - details are ContactName, ContactEmail and CompanyName.

Is there an automatic way of doing this?

Thanks
 
Hi guys, cheers for helping out with this. You're knowledge far surpasses mine :)

chaosphy has pretty much nailed the format of the files though I wouldn't know where to begin with implementing your suggestions. Excel idiot here!
 
They are text files renamed .PFL and the data is in numerous files across numerous directories.

i.e.

6453654272joebloggs.pfl
5427542772johnsmith.pfl
4324988903jondoe.pfl
 
Hey, thanks guys!

chaosphy - I tried that as a bat file though it had a few issues. At least some company names only had the second part of the name. There may be more but I didn't have any time to spend on checking this out. Hopefully will tomorrow.

A[L]C - That seems great! Didn't notice any errors but again not had much time. Could you also add CompanyName CompanyAddress CompanyCity and CompanyState? The delimeter is CompanyZip and anything from there isn't needed.

Will def reread what you both posted though so I can do this myself next time :D
 
No, I don't need that right now. That's the end of wanted data really.

I did try adding these myself in your vB but kept getting debug errors. I'd tried to logically expand the system you had but no success.
 
Ahh, I see what's going on.

The first delimiter is a tab and not a space - I guess the forum formated that when I copied it though I should have noticed.

How can I change that in your file chaosophy?
 
Back
Top Bottom