OFFXP: Flipped Images Lose Their Flipped Properties in VBA When Saved (316619)



The information in this article applies to:

  • Microsoft PowerPoint 2002
  • Microsoft Word 2002
  • Microsoft Excel 2002

This article was previously published under Q316619

SYMPTOMS

When you save a document in a Microsoft Office XP program, the FlipVertical and FlipHorizontal properties in Microsoft Visual Basic for Applications (VBA) are reset for any flipped images in the document.

For example, if a Microsoft PowerPoint presentation contains only one image on the first slide, and you flip that image both horizontally and vertically, you see the following results when you type the following code in the Immediate window of the Visual Basic Editor:
? ActivePresentation.Slides(1).Shapes(1).FlipVertical
TRUE

? ActivePresentation.Slides(1).Shapes(1).FlipHorizontal
TRUE
				
However, when you save the presentation, and type the same code again, you see the following results:
? ActivePresentation.Slides(1).Shapes(1).FlipVertical
FALSE

? ActivePresentation.Slides(1).Shapes(1).FlipHorizontal
FALSE
				

CAUSE

When you save the file, the Office program erases the flipped bit because the program no longer needs it to determine the flipped state of the image.

STATUS

This behavior is by design.

Modification Type:MinorLast Reviewed:10/11/2006
Keywords:kbdtacode kbpending kbprb KB316619