I can make my request easier known by showing how I know to do something:
From the windows command prompt, I can type
and it will change to the directory.
then if I type
When you do this it will make a new .txt file called "All.txt" that will contain all of the data from every text file in the folder it is looking in.
It will also retain all my original files.
My question is how can I do this from in Excel with VBA?
Thanks for any help you have in this!
From the windows command prompt, I can type
Code:
cd C:\strFolderName\strSubFolderName\
and it will change to the directory.
then if I type
Code:
Copy *.txt ALL.txt
When you do this it will make a new .txt file called "All.txt" that will contain all of the data from every text file in the folder it is looking in.
It will also retain all my original files.
My question is how can I do this from in Excel with VBA?
Thanks for any help you have in this!