M
mike
Am working with an executable that invokes Word and preprocesses a Target
Document, I have noticed that if I don't set the objWord (application
object) to...
With objWord
.Visible = True
.Activate
End With
until the very end, processing the document goes much faster, however it
will randomly will finish with more than one resulting documents. That is to
say occasionally there will be a resulting Document1, Document2 and
MyDocument, each will have erroneous pieces.
With performance the goal of the effort, I hate to give up the savings by
Activating early-on but the random behavior has me concerned?
Is there a best practices for performance approach?
Document, I have noticed that if I don't set the objWord (application
object) to...
With objWord
.Visible = True
.Activate
End With
until the very end, processing the document goes much faster, however it
will randomly will finish with more than one resulting documents. That is to
say occasionally there will be a resulting Document1, Document2 and
MyDocument, each will have erroneous pieces.
With performance the goal of the effort, I hate to give up the savings by
Activating early-on but the random behavior has me concerned?
Is there a best practices for performance approach?