i have thousands of replacements that need to be made in some large files. I've done this in VEDIT using:
Replace(" SEVEN-YEAR-OLD "," seven year old ",BOF+ALL+NOERR)
but, now my replacement lists are in the thousands and it is taking too long to process. is there a way to reformat this macro to run faster?
it takes 20hrs to run each macro and i have about 20 of them to run!
so, i have three questions:
1. can i format my existing macro a little differently and make it run faster thru 10K plus "REPLACE" strings
2. if so, how do i setup a macro to run multiple .vdm files? i have 'replace1.vdm', 'replace2.vdm', ect... and now i have to run the individually, can i batch it?
3. if i cannot edit the above macro to speed it up, how can i create a macro to loop through a file of words where the first string on a line is the 'search' and the next is the 'replace'
for example i have a text files that formatted like:
SEVEN-YEAR-OLD seven year old
SIX-YEAR-OLD six year old
Automobile automobile
i tried to use the Replace macro from 2001, but, it tells me the amount is too large.
Please keep it simple, i'm a novice!
Thanks i love the program!
|
|