E
Ed
I am using TextStream to create documents. I also need to grab several text
strings from the documents. At the moment, I create and save the doc with
TextStream, then reopen it with Word and do my searches. This adds a
monumental amount of time to running this program. Is it possible to search
it with Word VBA as a non-Word document as it's created and while it's still
open?
Code to create doc:
Set docTIR = fs.CreateTextFile(strNewDoc)
docTIR.Write (strNewTIR)
docTIR.Close
Ed
strings from the documents. At the moment, I create and save the doc with
TextStream, then reopen it with Word and do my searches. This adds a
monumental amount of time to running this program. Is it possible to search
it with Word VBA as a non-Word document as it's created and while it's still
open?
Code to create doc:
Set docTIR = fs.CreateTextFile(strNewDoc)
docTIR.Write (strNewTIR)
docTIR.Close
Ed