Visio Guy

Visio Discussions => ShapeSheet & Smart Shapes => Topic started by: Michelle on August 06, 2008, 03:43:08 PM

Title: Flipping Subshape
Post by: Michelle on August 06, 2008, 03:43:08 PM
I need to flip a sub shape based on a user's choice in the Shape Data.  The user has 4 choices in a pull down, and I need two of them to produce a flip, and the other two not to produce a flip...

Here's one of my feeble attempts: 
FlipY=IF(STRSAME(Sheet.5!Prop.PortOpening1,("Back"),OR(STRSAME(Sheet.5!Prop.PortOpening1,("Left")))),TRUE,FALSE)

This only produces the desired result if the user chooses "back".  I also need the flip to happen if the user chooses "left".

Thank you,
Michelle
Title: Re: Flipping Subshape
Post by: Visio Guy on August 06, 2008, 04:05:44 PM
Hi Michelle,

You are close...

OR needs to wrap both conditions, ie:

IF( OR( condition_1, condition_2, condition_3, ...) , true_case, false_case )