Welcome to Windows Help!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Power point 2007 macro to move an object

 
   Windows Help (Home) -> Microsoft Powerpoint RSS
Next:  Word Attachments Opening with Picture Manager  
Author Message
Gaetan

External


Since: Jan 2, 2009
Posts: 1



(Msg. 1) Posted: Fri Jan 02, 2009 8:23 am
Post subject: Power point 2007 macro to move an object
Archived from groups: microsoft>public>powerpoint (more info?)

I am trying to work with power point. I have a meter (simple, with a needle
in the middle to move left or right).

Then, I have a selector with 8 prime function. Each function have 3
sub-functions.

Example: Function: Weather. Sub Function: good, bad, don't know.

Then, if it is "good", the needle move clockwise, by about 15 degree. "Bad"
and "don't know", does the reverse.

In Excel, I can get the needle to move when I want to, but in PowerPoint, I
cannot.

This is the macro in excel

Sub Rotateclockwise()

ActiveSheet.Shapes("Freeform 2").Select
Selection.ShapeRange.IncrementRotation 15#
Range("a1").Select
Edn Sub

Can someonehelp me to create amacro for powerpoint?

Thanks

 >> Stay informed about: Power point 2007 macro to move an object 
Back to top
Login to vote
Steve Rindsberg

External


Since: Nov 8, 2008
Posts: 108



(Msg. 2) Posted: Fri Jan 02, 2009 1:07 pm
Post subject: Re: Power point 2007 macro to move an object
Archived from groups: per prev. post (more info?)

In article , Gaetan wrote:
> I am trying to work with power point. I have a meter (simple, with a needle
> in the middle to move left or right).
>
> Then, I have a selector with 8 prime function. Each function have 3
> sub-functions.
>
> Example: Function: Weather. Sub Function: good, bad, don't know.
>
> Then, if it is "good", the needle move clockwise, by about 15 degree. "Bad"
> and "don't know", does the reverse.
>
> In Excel, I can get the needle to move when I want to, but in PowerPoint, I
> cannot.
>
> This is the macro in excel
>
> Sub Rotateclockwise()
>
> ActiveSheet.Shapes("Freeform 2").Select
> Selection.ShapeRange.IncrementRotation 15#
> Range("a1").Select
> Edn Sub
>
> Can someonehelp me to create amacro for powerpoint?

Sure. Assuming the shape's name is the same and that it's on Slide 1:

Sub Rotateclockwise()
With ActivePresentation.Slides(1).Shapes("Freeform 2")
.IncrementRotation 15#
End With
End Sub



==============================
PPT Frequently Asked Questions
[URL="http://www.pptfaq.com/"]http://www.pptfaq.com/[/URL]

PPTools add-ins for PowerPoint
[URL="http://www.pptools.com/"]http://www.pptools.com/[/URL]

 >> Stay informed about: Power point 2007 macro to move an object 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
how can I save a power point 2003 doc to pp 2007? - I've tried just clicking save as to put it into PP 2007 and I get a message saying the converter failed to save the file.

power point - how do I lock a power point so the viewer can only see full screen when I send it via email?

power point crashing - I have PPT 2007 on a lenovo T500. When I make slides for a presentation (mostly graphs, tables and scientific stuff) the program turns white and does not respond. I am up to date with all fixes and updates. I have turned off the anti-virus program....

power point auto open - Previously, when someone sent a ppt/pps presentation via e-mail, all I had to do was click on the attachment and view. I must have changed something somewhere because now it opens to Word and not viewable. What can I do to restore the correct auto ope...

Power point presentation on repeat - Good morning all, I work for a cabinet company that is going into a trade show and wanted a slide show playin on a tv during the show. I have created the slide show along with pictures and captions but there is one thing left to do. I need the show to...
   Windows Help (Home) -> Microsoft Powerpoint All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]