dqasem
03-11-2005, 05:09 AM
Hi everyone,
I need two macros for Microsoft Word 2004. One that tranverses through a directory and its subdirectories and converts every file into a txt document, saving it into separate directory, maintaining folder structure if possible. Otherwise it just needs to save as txt and and add the extension .txt. This macro must overcome the dialog that prompts the user to lose formatting, etc.
The other macro is a bit more complicated. It has to tranverse through a directory and its subdirectories and open txt files, run a specific macro on each file, change the font to arial, and then save the file as a word document. Depending on what is done in the previous macro, it might have to be renamed. Again, folder integrity must be maintained. Finally, this needs to work on Mac Word 2004 as the characters that are being converted are MAC ANSI.
Thanks for all your help
I need two macros for Microsoft Word 2004. One that tranverses through a directory and its subdirectories and converts every file into a txt document, saving it into separate directory, maintaining folder structure if possible. Otherwise it just needs to save as txt and and add the extension .txt. This macro must overcome the dialog that prompts the user to lose formatting, etc.
The other macro is a bit more complicated. It has to tranverse through a directory and its subdirectories and open txt files, run a specific macro on each file, change the font to arial, and then save the file as a word document. Depending on what is done in the previous macro, it might have to be renamed. Again, folder integrity must be maintained. Finally, this needs to work on Mac Word 2004 as the characters that are being converted are MAC ANSI.
Thanks for all your help