Follow
Share
Bookmark and Share
Translate












Like This Page?
Like This Site?



Product Showcase






PowerPoint Programming

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


Tuesday, April 27, 2010
posted by Geetesh at Tuesday, April 27, 2010 IST


This blog is now located at http://powerpointprogram.indezine.com/.
You will be automatically redirected in 30 seconds, or you may click here.

For feed subscribers, please update your feed subscriptions to
http://powerpointprogram.indezine.com/feeds/posts/default.

0 comments

Links to this post



Thursday, April 9, 2009
posted by Geetesh at Thursday, April 09, 2009 IST

VBA stands for Visual Basic for Applications, and is a programming language subset of Microsoft Visual Basic. It allows to control several options in programs that support VBA.

Most Microsoft Office applications such as Word, Excel, and PowerPoint work with VBA. However VBA support is giving way to new technologies such as VSTO in Office 2007.

You really don't need to learn a lot of VBA to make things happen. Sometimes, you can just paste a snippet of VBA to make miracles happen!

For examples, you can find some sample VBA code here...

Labels: ,

0 comments

Links to this post



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

Here are some resources to help you with PowerPoint programming:

0 comments

Links to this post



posted by Geetesh at 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)

For I = ROTATION_INCREMENT To ROTATION_MAX Step ROTATION_INCREMENT
With oShp.Duplicate
.Rotation = I
.Left = oShp.Left
.Top = oShp.Top
End With
Next
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: , , , ,

0 comments

Links to this post



posted by Geetesh at Friday, March 20, 2009 IST

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

If you like that though, 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: , ,

0 comments

Links to this post



    follow me on Twitter

    Archives:

    March 2009  |  April 2009  |  April 2010  |  

    Featured Story

    Animated Slide: Spinning Snowflakes

    Three snowflakes that move randomly with the breeze in PowerPoint – actually a clever combination of multiple animations and setting their timings make this look so random! We used the Spin, Grow and Shrink, and a Spiral motion path to create the effect. All colors used are Theme aware – so if you move this slide to another presentations, the colors may change! We used PowerPoint 2010 to create this presentation, and it works best in either that version or in PowerPoint 2011 for Mac.

    Animated Slide: Spinning Snowflakes

    Download and use this slide for your own presentations.

        
    Featured Book

    PowerPoint 2007 Complete Makeover Kit

    PowerPoint 2007 Complete Makeover Kit
    PowerPoint 2007 Complete Makeover Kit is out! Check the book on Amazon.com...

    And here are some free excerpts...


    Home | PowerPoint | Photoshop | Free PowerPoint Templates | Blog | Notes | Ezine | Studio | Advertise | Feedback | Site Map | About Us | Contact Us
    Link to Us | RSS | Privacy | Testimonials
    Free PowerPoint Backgrounds | Free Christian PowerPoint Backgrounds | Free Business PowerPoint Presentation Templates

    Plagiarism will be detected by Copyscape


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

        since November 02, 2000