C
Cybert
For my new job I need to search through 25,000 short text files and
replace about 280 words with 280 NEW words.
This weekend I wrote a Word macro to accomplish this task for me.
I've been trying the code at work this morning and I've encountered
one problem: every time my macro needs to make a change it PROMPTS me
to save changes to the file.
I'm using this line to save:
Documents.Save NoPrompt:=True, _
OriginalFormat:=wdOriginalDocumentFormat
I suspect the issue is that the short text files are saved with the
extension *.gas (When my code tries to change the file I get a prompt
to save the *.gas file as *.txt.) But there must be some way to get
around this problem...
Any suggestions or ideas?
replace about 280 words with 280 NEW words.
This weekend I wrote a Word macro to accomplish this task for me.
I've been trying the code at work this morning and I've encountered
one problem: every time my macro needs to make a change it PROMPTS me
to save changes to the file.
I'm using this line to save:
Documents.Save NoPrompt:=True, _
OriginalFormat:=wdOriginalDocumentFormat
I suspect the issue is that the short text files are saved with the
extension *.gas (When my code tries to change the file I get a prompt
to save the *.gas file as *.txt.) But there must be some way to get
around this problem...
Any suggestions or ideas?