Turn off calculation during Word Macro?
Suat provided a macro that loops through all inline images in a document and inserts a caption for each image. I have 1460 images in the document.
At first, the macro was running very fast.
But, after each time through the loop, the Word status bar says that Word is calculating all fields. I am up to 500+ images done and each caption is taking 15-20 seconds. The pause happens immediately after:
[vba]shp.Range.InsertCaption Label:="Fig.", TitleAutoText:="", _
Title:="", Position:=wdCaptionPositionBelow[/vba]
Is there a way to have Word stop calculating until the macro is finished and then to calculate all captions at once?
Bill