View Single Post
 
Old 03-06-2018, 03:06 PM
lars-daniel lars-daniel is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: Mar 2018
Posts: 6
lars-daniel is on a distinguished road
Default

Thanks a lot ! It's still running - can't tell you about the result. But since it's still running, you seem to have solved the problem. Latest (and biggest) Intel i7 with latest Office still uses 1 core only, three cores (+ hyperthreading) are idling. I should better split it into single files and run in parallel

Do you suggest to set use .Range.Text to remove the value or shall I do it the "replace"-way?
Code:
With ActiveDocument.Content.Find
    .Execute FindText:="-1", ReplaceWith:="", Format:=True, Replace:=wdReplaceAll, MatchWholeWord:=False
End With
Shall I also add this to each loop?
Code:
ActiveDocument.UndoClear
EDIT:
Oops, it doesn't work every time. I've got very much cells, which haven't get touched at all.
Reply With Quote