

Even though you deleted the image, there may still be some sort of reference to it inside your document. Additionally, I think the images that reappear may be linked images.

Word is automatically updating the fields when you print. Stopping caption fields and images from updating That won’t fix the problem, but if you are using some other view, it may be why everything looks fine on screen then messed up in Print Preview. In the Document Views group, make sure Print Layout is selected. You want what you see on screen to be the same as what prints, so make sure you work in print layout view. (You didn’t mention which version of Word you are using, so I’m assuming you are using Microsoft Word 2007 or 2010.) Using print layout view I’ll try to help without seeing the actual document. Jump to my discussion with Craig.ĪNSWER: It sounds like several unrelated problems are happening at the same time. Update: I found a solution for another reader who was experiencing similar caption problems. Manually making and saving changes to the document does not help as the problem reoccurs each time I print or export it. I have tried saving the file as a pdf to avoid the issue but the same problem occurs. The problem is related using Microsoft Word 2007 SP2/2010 using automation object model.I believe it has something to do with the captions as the problem also occurs when caption fields are updated. If you still not reproduce the problem, I can provide a sample using different programming language: C++/ATL. Set oWordApp = CreateObject( "Word.Application") With document protection using the Word object model.

I real need this functionality, and I don’t understand why there is this recurring problem Is it a known issue of Word 2007 SP2/Word 2010? Is there a hot-fix available that 'Try to unprotect with correct password => error message is displayed 'Unprotect document and protect again with wdAllowOnlyFormFields 'Save the document on disk as docx (12 - wdFormatXMLDocument), and close it

'Protect document with wdAllowOnlyFormFields Set oWordApp = CreateObject("Word.Application") Vbs script below illustrates the problem (actions: protect->save->open->unprotect->protect->save->open->unprotect failed): 'Start Word RTF/DOCX documents (for DOC format works ok), using Office 2007 SP2 or Office 2010. Now I have a similar issue related protection/un-protection from Word object model, manipulating Microsoft confirms it was a problem and a hot-fix is available: KB article 969961 ( Is protected (AllowOnlyFormFields) with password using Word object model: ( ) With one year ago I reported to Microsoft a problem related Word 2007 SP2 problem when a RTF document
