This is the print version of this page. All content is copyright 2000- .

PowerPoint Programming: March 2009

Everything about PowerPoint programming including VBA, VSTO, and more.

See Also:
PowerPoint and Presenting Blog
PowerPoint and Presenting Glossary
PowerPoint and Presenting Tutorials

Subscribe to this blog

Resources on PowerPoint Programming

Friday, March 20, 2009
posted by Geetesh on Friday, March 20, 2009 IST

Here are some resources to help you with PowerPoint programming:

posted by Geetesh on Friday, March 20, 2009 IST

Note: If you don't know how to use macro snippets or scripts inside PowerPoint, look here...

This started with my Create Spirograph in PowerPoint tutorial -- and thanks to my friend Shyam Pillai who said I could do that so much faster programattically by using this code:

Sub CreateSpirograph()
Dim oShp As Shape
Dim I As Single

Const ROTATION_INCREMENT = 5 'Rotation Increment
Const ROTATION_MAX = 360 'Max rotation

'Select a shape on the slide and then run this
Set oShp = ActiveWindow.Selection.ShapeRange(1)

With oShp.Duplicate
.Rotation = I
.Left = oShp.Left
.Top = oShp.Top
End With
End Sub

Remember you need to have some shape selected before you run this code. Also, Shyam adds that you can change the ROTATION_INCREMENT and ROTATION_MAX values to get different graphs.

Shyam Pillai is a Microsoft PowerPoint MVP, visit his site for many VBA snippets, free and commercial PowerPoint add-ins

Labels: , , , ,

posted by Geetesh on Friday, March 20, 2009 IST

What can be better to start a blog on PowerPoint programming that discussing a tutorial on using scripts and macros from elsewhere even if you don't know how to do VBA programming!

If you like that thought, run now to this page! As that page says: "This article is not about creating your own macros or scripts to automate PowerPoint. However, if you just want to run any macros or scripts that a friend shares, or you just got it from a book or newsgroup, then you are on the right page."

Labels: , ,

comments powered by Disqus

Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.

Home | PowerPoint | Photoshop | PowerPoint Templates | PowerPoint Tutorials | Blog | Notes | Ezine | Advertise | Feedback | Site Map | About Us | Contact Us

Link to Us | Privacy | Testimonials

PowerPoint Backgrounds | Christian PowerPoint Backgrounds | Business PowerPoint Presentation Templates

Plagiarism will be detected by Copyscape

©2000-2016, Geetesh Bajaj. All rights reserved.

since November 02, 2000