> Apply an emphasis > grow shrink animation.
> Set a custom zoom of 110% and press ENTER to confirm (make sure you press
[quoted text clipped - 11 lines]
> >
> > Bob L
> John,
>
[quoted text clipped - 6 lines]
> accurately enough and the shape either grows or shrinks following repeated
> cycling (keypresses on the object that runs the scaling macro).
Here's one approach to a VBA solution (if you can use that)
Sub PumpMeUp()
With ActiveWindow.Selection.ShapeRange(1)
.Tags.Add Name:="Height", Value:=CStr(.Height)
.Tags.Add Name:="Width", Value:=CStr(.Width)
.Height = .Height * 1.1
.Width = .Width * 1.1
End With
End Sub
Sub DeflateMe()
With ActiveWindow.Selection.ShapeRange(1)
.Height = CSng(.Tags("Height"))
.Width = CSng(.Tags("Width"))
End With
End Sub
' You can use this to test it:
Sub BingePurgeMe()
Dim x As Long
With ActiveWindow.Selection.ShapeRange(1)
For x = 1 To 100
PumpMeUp
DeflateMe
Next
End With
End Sub
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
John Wilson - 15 Feb 2007 15:00 GMT
Based on Steve's code (which works in edit mode only) this would work only in
show mode (after youve used Steve's code to add the tags) and toggle between
pumped and whatever the opposite of pumped is! Give the shape an action
setting of run macro
'__ start
Sub PumpMeUpanddown(oshp As Shape)
With oshp
Select Case .Tags("height")
Case Is = CStr(.Height)
.Tags.Add Name:="Height", Value:=CStr(.Height)
.Tags.Add Name:="Width", Value:=CStr(.Width)
.Height = .Height * 1.1
.Width = .Width * 1.1
Case Is <> CStr(.Height)
.Height = CSng(.Tags("Height"))
.Width = CSng(.Tags("Width"))
End Sub
'__end
--------------------------------------------
Amazing PPT Hints, Tips and Tutorials-http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk/ppttipshome.html
email john AT technologytrish.co.uk
> > John,
> >
[quoted text clipped - 46 lines]
> PPTools: www.pptools.com
> ================================================
John Wilson - 15 Feb 2007 15:49 GMT
OOps missed a bit in the copy/paste!
Sub PumpMeUpanddown2(oshp As Shape)
With oshp
Select Case .Tags("height")
Case Is = CStr(.Height)
.Tags.Add Name:="Height", Value:=CStr(.Height)
.Tags.Add Name:="Width", Value:=CStr(.Width)
.Height = .Height * 1.1
.Width = .Width * 1.1
Case Is <> CStr(.Height)
.Height = CSng(.Tags("Height"))
.Width = CSng(.Tags("Width"))
End Select
End With
End Sub

Signature
--------------------------------------------
Amazing PPT Hints, Tips and Tutorials-http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk/ppttipshome.html
email john AT technologytrish.co.uk
> Based on Steve's code (which works in edit mode only) this would work only in
> show mode (after youve used Steve's code to add the tags) and toggle between
[quoted text clipped - 69 lines]
> > PPTools: www.pptools.com
> > ================================================
flying_pig - 18 Feb 2007 13:49 GMT
John,
This worked ok and I can use it as is thanks. Always wanting a little more
I would have liked the scaling origin to be the middle of the shape but I
guess that is slightly more difficult?
> OOps missed a bit in the copy/paste!
>
[quoted text clipped - 86 lines]
> > > PPTools: www.pptools.com
> > > ================================================