Microsoft KB Archive/316619

= OFFXP: Flipped Images Lose Their Flipped Properties in VBA When Saved =

Article ID: 316619

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft PowerPoint 2002 Standard Edition
 * Microsoft Word 2002 Standard Edition
 * Microsoft Excel 2002 Standard Edition

-



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.

Additional query words: horizontalflip verticalflip msofliphorizontal msoflipvertical vert horiz try erase gone missing different change dropped lost converted PowerPoint ppt powerpnt presentations shape shapes flipping flipped flip

Keywords: kbdtacode kbpending kbprb KB316619

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.