Ok, here is what I need to do.
Get a directory listing of files located in c:\valvecurves\histdata\
all files as *.xls
list them in a worksheet, named "history_files"
What I currently do:
Using VB:
Shell and run a bat file which takes a directory listing
and writes it to a text file name dirlst.txt
the bat file look like this
dir *.xls /on /o-d >c:\valvecurves\histdata\dirlst.txt
then I open the text file, copy column "F" and paste it into my worksheet.
My question:
Isn't there an easier way to do this?
Get a directory listing of files located in c:\valvecurves\histdata\
all files as *.xls
list them in a worksheet, named "history_files"
What I currently do:
Using VB:
Shell and run a bat file which takes a directory listing
and writes it to a text file name dirlst.txt
the bat file look like this
dir *.xls /on /o-d >c:\valvecurves\histdata\dirlst.txt
then I open the text file, copy column "F" and paste it into my worksheet.
My question:
Isn't there an easier way to do this?