Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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
				

↑ Back to the top


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.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


Keywords: KB316619, kbprb, kbpending, kbdtacode

↑ Back to the top

Article Info
Article ID : 316619
Revision : 6
Created on : 1/31/2007
Published on : 1/31/2007
Exists online : False
Views : 304