It's much easier if the filenames are fixed (always the same).
A simpler solution would be to write a macro for one file only. But then you must open each file and execute the macro manually.
If you like you could write a batchfile with 30 calls of Word (use start /w) and a command line option to execute that macro.
Kees
In Word, to export a file as data for forms (CSV text file) you click Tools>>Options>>Save TAB>>then check the box ''Save Data for Forms''.
You then Save the file as a .TXT.
Is there a way to perform this operation to a group of 30 Word documents that are in a folder without opening each file?
I want the .TXT filename to be the same as the corresponding .DOC filename.
Thanks.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic