Disappearing Inlineshapes
        Posted  
        
            by Rick
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Rick
        
        
        
        Published on 2010-05-18T19:07:43Z
        Indexed on 
            2010/05/18
            19:10 UTC
        
        
        Read the original article
        Hit count: 340
        
search-and-replace
|.doc
I frequently edit files that have numerous inlineshapes, one per paragraph. One of the edits I make is to eliminate "double" paragraph marks either using Search and Replace or a simple macro that performs the same operation (e.g., search for "^p^p" and replace with "^p"). This operation works fine in Word 97-2003 documents (.doc), but when I try it on .docx documents, I lose all of the inlineshapes. The .docx files seem to ignore the inlineshape, therefore seeing the paragraphs containing them as "empty". Search and Replace sees "^p^p", replaces it with "^p", and the graphic goes away. Any thoughts on how to work around this?
© Stack Overflow or respective owner