I am processing a large (400+ page) MS-Word document with my VB(A) program. I have various tags for client name, client address, etc. I have code that works, but it runs sloooooooow (when I was working with smaller documents, I did not notice a speed issue). I am looking for suggestions on how to make this run faster. I am using code like the following:
With mobjWord.Selection.Find
.Text = "<<CLIENT_NAME>>"
.Replacement.Text = "John J. Doe"
.Wrap = wdFindContinue
.Execute Replace:=wdReplaceAll
End With
Any suggestions on alternative methods or ways to speed this up?
With mobjWord.Selection.Find
.Text = "<<CLIENT_NAME>>"
.Replacement.Text = "John J. Doe"
.Wrap = wdFindContinue
.Execute Replace:=wdReplaceAll
End With
Any suggestions on alternative methods or ways to speed this up?